/* ==========================================================
   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;
}


/* ==========================================================
   LOCATION SEO / LOCAL CONTENT SECTION
   One compact intro + expandable supporting SEO content.
   Strong width rules prevent Elementor/theme overflow.
========================================================== */

.slp-location-page-content {
  display: block !important;
  width: calc(100% - 32px) !important;
  max-width: 1180px !important;
  margin: 52px auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  clear: both;
  overflow: hidden;
}

.slp-location-page-content-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 34px 38px !important;
  box-sizing: border-box !important;
  border: 1px solid #dce7ee;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 14px 40px rgba(20, 55, 75, 0.07);
  overflow: hidden;
}

.slp-location-page-content-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  margin: 0 0 10px;
  color: #2f6889;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.slp-location-page-content-kicker-dot {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f6889;
  box-shadow: 0 0 0 5px rgba(47, 104, 137, .09);
}

.slp-location-page-content-title {
  display: block !important;
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 0 15px !important;
  padding: 0 !important;
  color: #10233a !important;
  font-size: clamp(28px, 3.2vw, 42px) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

.slp-location-page-content-excerpt {
  display: block !important;
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 !important;
  color: #536579 !important;
  font-size: 17px !important;
  line-height: 1.72 !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

.slp-location-page-content-excerpt p {
  margin: 0 !important;
}

/* Keep the initial SEO intro compact: approximately three lines. */
.slp-location-page-content-excerpt {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden !important;
}

.slp-location-page-content-details {
  width: 100% !important;
  max-width: 900px !important;
  margin: 20px 0 0 !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid #dce7ee !important;
}

.slp-location-page-content-details summary {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  margin: 0 !important;
  padding: 0 !important;
  color: #1769aa !important;
  background: transparent !important;
  border: 0 !important;
  cursor: pointer;
  list-style: none !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}

.slp-location-page-content-details summary::-webkit-details-marker {
  display: none !important;
}

.slp-location-page-content-details summary::marker {
  display: none !important;
  content: "";
}

.slp-location-page-content-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid #c9dce8;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  transition: transform .25s ease, background .25s ease;
}

.slp-location-page-content-details[open] .slp-location-page-content-chevron {
  transform: rotate(180deg);
}

.slp-location-page-content-full {
  width: 100% !important;
  max-width: 900px !important;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  color: #4c5d6d !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

.slp-location-page-content-full p {
  margin: 0 0 16px !important;
}

.slp-location-page-content-full h2,
.slp-location-page-content-full h3,
.slp-location-page-content-full h4 {
  max-width: 100%;
  margin: 28px 0 12px !important;
  color: #10233a !important;
  line-height: 1.3 !important;
}

.slp-location-page-content-full ul,
.slp-location-page-content-full ol {
  max-width: 100%;
  margin: 15px 0 20px !important;
  padding-left: 24px !important;
}

@media (max-width: 760px) {
  .slp-location-page-content {
    width: calc(100% - 24px) !important;
    margin: 34px auto !important;
  }

  .slp-location-page-content-inner {
    padding: 24px 20px !important;
    border-radius: 16px;
  }

  .slp-location-page-content-title {
    font-size: 27px !important;
  }

  .slp-location-page-content-excerpt {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  .slp-location-page-content-full {
    font-size: 15px !important;
    line-height: 1.72 !important;
  }
}
