/* Services page styled to match restaurants card layout */
.services-guide-wrap {
  max-width: 1056px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.75rem 0.6rem 1rem;
  box-sizing: border-box;
}

.services-intro {
  font-size: 0.95rem;
  color: #374151;
  margin: 0 0 0.6rem 0;
  line-height: 1.5;
}

.services-guide-wrap .section-heading h2 {
  margin-bottom: 1rem;
}

.services-results-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
  box-sizing: border-box;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  min-width: 0;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #d9e2f1;
  transition: box-shadow 0.2s ease;
  padding: 0.75rem;
  box-sizing: border-box;
}

.service-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-image {
  flex: 0 0 auto;
  width: 100%;
  max-width: 400px;
  height: 220px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  background: #e8eef8;
}

.service-image img {
  width: 400px;
  max-width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.service-body {
  flex: 1;
  min-width: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: max(0px, calc((100% - 400px) / 2));
  padding-right: max(0px, calc((100% - 400px) / 2));
  display: flex;
  flex-direction: column;
}

.service-name {
  font-family: "Work Sans", "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.015em;
  font-size: 1.25rem;
  margin: 0 0 0.35rem 0;
  color: #0390fc;
}

.service-tagline {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0 0 0.45rem 0;
}

.service-desc {
  font-size: 0.9rem;
  color: #374151;
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  font-size: 0.85rem;
  margin-top: auto;
  align-items: center;
}

.service-link {
  color: #0390fc;
  text-decoration: none;
}

.service-link:hover {
  text-decoration: underline;
}

.service-link-meta {
  color: #4b5563;
}

@media (max-width: 768px) {
  .services-results-list {
    grid-template-columns: 1fr;
  }

  .service-image {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .service-image img {
    width: 100%;
    height: 220px;
  }
}
