/* --------------------------------------------------
   ✅ MAP VERIFIED - STYLES.CSS
   Used by: map_verified_feed shortcode and others
-------------------------------------------------- */

/* Base section styling */
.map-verified-section {
  background-color: #ffffff;
  padding: 60px 20px;
  max-width: 1600px;
  margin: auto;
}

/* Grid layout: 4 columns on desktop */
.map-verified-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

/* Individual card design */
.map-card {
  flex: 1 1 calc(25% - 30px);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  text-align: center;
  color: #000000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 480px;
}

/* Hover lift effect */
.map-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Thumbnail image inside the card */
.map-card-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Card title area */
.map-card-title {
  font-size: 1.15rem;
  font-weight: bold;
  margin: 0 0 18px;
  line-height: 1.4;
  overflow: hidden;
  max-height: 3.2em; /* Clamp to 2 lines */
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.map-card-title a {
  color: #111;
  text-decoration: none;
}

.map-card-title a:hover {
  color: #d4af37;
}

/* MAP Shield inside card */
.map-card-shield img {
  width: 90px;
  margin: 20px auto;
  cursor: pointer;
  display: block;
  transition: transform 0.2s ease;
}

.map-card-shield img:hover {
  transform: scale(1.05);
}

/* Verification disclaimer text */
.map-card-verification-text {
  font-family: "Orbitron", sans-serif;
  font-size: 13px;
  color: #000;
  text-transform: uppercase;
  line-height: 1.5;
  margin-top: auto;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive — Tablet (2 per row) */
@media (max-width: 1024px) {
  .map-card {
    flex: 1 1 calc(50% - 30px);
  }
}

/* Responsive — Mobile (1 per row) */
@media (max-width: 640px) {
  .map-card {
    flex: 1 1 100%;
  }

  .map-card-shield img {
    width: 80px;
  }

  .map-card-verification-text {
    font-size: 12px;
  }
}
