/* ==========================================================
   Whiz Market Places Frontend CSS
========================================================== */

.wmp-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
}

.wmp-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.wmp-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

/* Content */

.wmp-content {
  line-height: 1.8;
  font-size: 16px;
}

.wmp-content h2 {
  font-size: 30px;
  margin: 35px 0 15px;
}

.wmp-content h3 {
  font-size: 24px;
  margin: 30px 0 15px;
}

.wmp-content p {
  margin-bottom: 20px;
}

.wmp-content ul {
  margin: 20px 0;
  padding-left: 25px;
}

.wmp-content li {
  margin-bottom: 10px;
}

/* Cards */

.wmp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.wmp-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
}

.wmp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.wmp-card img {
  width: 100%;
  display: block;
}

.wmp-card-body {
  padding: 20px;
}

.wmp-card-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.wmp-card-text {
  color: #666;
  margin-bottom: 20px;
}

.wmp-btn {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s;
  border: 1px solid #ddd;
}

.wmp-btn:hover {
  opacity: 0.9;
}

/* Tables */

.wmp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.wmp-table th,
.wmp-table td {
  border: 1px solid #ddd;
  padding: 12px;
}

.wmp-table th {
  background: #f8f8f8;
}

/* Contact Box */

.wmp-contact-box {
  margin-top: 40px;
  padding: 30px;
  border-radius: 8px;
  background: #f8f9fa;
  border: 1px solid #eee;
}

.wmp-contact-box h3 {
  margin-bottom: 15px;
}

.wmp-contact-box p {
  margin-bottom: 10px;
}

/* Related */

.wmp-related {
  margin-top: 60px;
}

.wmp-related h2 {
  margin-bottom: 25px;
}

.wmp-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wmp-related li {
  border-bottom: 1px solid #eee;
}

.wmp-related a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
}

.wmp-related a:hover {
  padding-left: 10px;
}

/* Hero */

.wmp-hero {
  padding: 80px 20px;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 40px;
}

.wmp-hero h1 {
  font-size: 46px;
  margin-bottom: 20px;
}

.wmp-hero p {
  max-width: 800px;
  margin: auto;
  font-size: 18px;
}

/* Responsive */

@media (max-width: 992px) {
  .wmp-title {
    font-size: 32px;
  }

  .wmp-hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .wmp-container {
    margin: 25px auto;
  }

  .wmp-title {
    font-size: 28px;
  }

  .wmp-content {
    font-size: 15px;
  }

  .wmp-content h2 {
    font-size: 24px;
  }

  .wmp-content h3 {
    font-size: 20px;
  }

  .wmp-hero {
    padding: 50px 15px;
  }

  .wmp-hero h1 {
    font-size: 30px;
  }

  .wmp-hero p {
    font-size: 16px;
  }
}

/* Entity section — appended below the Location's own hero design on
   /location-slug/entity-slug/ pages (includes/dynamic-content.php) */
.slp-entity-section {
	max-width: 900px;
	margin: 40px auto;
	padding: 0 20px;
}
.slp-entity-title {
	font-size: 28px;
	margin-bottom: 16px;
}
.slp-entity-image {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin-bottom: 16px;
}
.slp-entity-description p {
	font-size: 16px;
	line-height: 1.6;
	color: #333;
}
