/* ── Shared reset ──────────────────────────────────────────── */

.adm-map-shell,
.adm-cards-shell {
  font-family: 'Inter', system-ui, sans-serif;
  color: #2a2520;
  box-sizing: border-box;
}

.adm-map-shell *,
.adm-cards-shell * {
  box-sizing: border-box;
}

/* ── Map shell ─────────────────────────────────────────────── */

.adm-map-shell {
  background: var(--adm-bg, #ffffff);
  border: 1px solid var(--adm-border, #e3dbcf);
  padding: 16px;
}

.adm-map-canvas {
  width: 100%;
  background: #ffffff;
}

.adm-map-canvas .leaflet-container {
  background: #ffffff;
  font-family: 'Inter', system-ui, sans-serif;
}

.adm-map-canvas .leaflet-control-zoom {
  border: 1px solid #d9d0c2;
  box-shadow: none;
}

.adm-map-canvas .leaflet-control-zoom a {
  color: #5c5a55;
  background: #fff;
  border-bottom: 1px solid #e6ddd0;
}

.adm-map-canvas .leaflet-control-zoom a:hover {
  background: #f5f0e8;
  color: #4b463f;
}

/* ── Marker ────────────────────────────────────────────────── */

.adm-marker-wrap {
  background: transparent;
  border: 0;
}

.adm-marker {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(81, 76, 66, 0.18);
}

/* ── Popup ─────────────────────────────────────────────────── */

.adm-popup {
  font-family: 'Inter', system-ui, sans-serif;
  color: #2a2520;
  line-height: 1.5;
}

.adm-popup-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
  color: #2a2520;
}

.adm-popup-meta {
  color: #7a7368;
  font-size: 12px;
  margin-bottom: 8px;
}

.adm-popup-row {
  font-size: 13px;
  margin-bottom: 3px;
  color: #2a2520;
}

.adm-popup a {
  color: #5c5a55;
  text-decoration: underline;
}

.adm-popup-website {
  color: #9a9088;
  font-size: 12px;
  word-break: break-all;
}

/* ── Cards shell ───────────────────────────────────────────── */

.adm-cards-shell {
  padding: 0;
}

/* ── Search bar ────────────────────────────────────────────── */

.adm-cards-search {
  position: relative;
  margin-bottom: 32px;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.adm-cards-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  line-height: 0;
}

.adm-cards-input {
  display: block;
  width: 100%;
  padding: 13px 18px 13px 52px !important;
  border: 1px solid #ddd6cc !important;
  background: #ffffff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: #2a2520;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.4;
}

.adm-cards-input::placeholder {
  color: #aca49a;
}

.adm-cards-input:focus {
  border-color: #b0a090;
}

.adm-cards-input::-webkit-search-cancel-button,
.adm-cards-input::-webkit-search-decoration {
  -webkit-appearance: none;
}

/* ── Cards grid ────────────────────────────────────────────── */

.adm-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .adm-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .adm-cards-grid { grid-template-columns: 1fr; }
  .adm-cards-search { width: 100%; }
}

/* ── Single card ───────────────────────────────────────────── */

.adm-cards-shell .adm-card {
  display: block;
  padding: 22px 22px 20px;
  border: 1px solid #ddd6cc;
  background: #ffffff;
  color: #2a2520;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
  border-radius: 0;
}

.adm-cards-shell .adm-card:visited {
  color: #2a2520;
  text-decoration: none;
}

.adm-cards-shell .adm-card:hover,
.adm-cards-shell .adm-card:focus {
  border-color: #b0a090;
  background: #faf8f5;
  color: #2a2520;
  text-decoration: none;
  outline: none;
}

.adm-cards-shell .adm-card * {
  text-decoration: none;
}

/* Card header */

.adm-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.adm-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  flex: 1;
  color: #2a2520;
}

.adm-card-link-icon {
  flex-shrink: 0;
  color: #b0a898;
  line-height: 0;
  margin-top: 3px;
}

/* Card body */

.adm-card-country {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #2a2520;
  margin-bottom: 2px;
}

.adm-card-region {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #7a7368;
  margin-bottom: 14px;
}

.adm-card-address {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  color: #5c5a55;
  margin-bottom: 10px;
  line-height: 1.5;
}

.adm-card-contacts {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  color: #5c5a55;
  line-height: 1.7;
}

/* View more button */

.adm-cards-footer {
  margin-top: 24px;
  text-align: center;
}

.adm-cards-more {
  display: inline-block;
  padding: 11px 32px;
  border: 1px solid #ddd6cc;
  background: #ffffff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  color: #2a2520;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  letter-spacing: 0.01em;
}

.adm-cards-more:hover {
  border-color: #b0a090;
  background: #faf8f5;
}

/* Empty state */

.adm-card-empty {
  grid-column: 1 / -1;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  color: #9a9088;
  padding: 48px 0;
  font-size: 15px;
}
