/* Express Meister SEO Generator frontend styles */
.emsg-middle-cta,
.emsg-final-cta {
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
  border: 1px solid #dbe7ff;
  border-radius: 24px;
  padding: 32px;
  margin: 36px 0;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  text-align: left;
}

.emsg-middle-cta p,
.emsg-final-cta p {
  margin: 0 0 18px;
}

.emsg-final-cta h2 {
  margin-top: 0;
  margin-bottom: 14px;
  color: #111827;
}

.emsg-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.emsg-button,
a.emsg-button,
.entry-content a.emsg-button,
.wp-block-post-content a.emsg-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px !important;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.emsg-button:hover,
a.emsg-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
  opacity: .95;
}

.emsg-button-primary,
a.emsg-button-primary,
.entry-content a.emsg-button-primary {
  background: #1e5bff !important;
  color: #ffffff !important;
  border: 1px solid #1e5bff !important;
}

.emsg-button-whatsapp,
a.emsg-button-whatsapp,
.entry-content a.emsg-button-whatsapp {
  background: #22c55e !important;
  color: #ffffff !important;
  border: 1px solid #22c55e !important;
}

.emsg-button-email,
a.emsg-button-email,
.entry-content a.emsg-button-email {
  background: #ffffff !important;
  color: #1e5bff !important;
  border: 1px solid #bdd0ff !important;
}

.emsg-service-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 16px;
  margin: 24px 0;
  border: 1px solid #e5e7eb;
}

.emsg-service-table th,
.emsg-service-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.emsg-service-table tr:last-child td {
  border-bottom: 0;
}

.emsg-service-table th {
  background: #f3f7ff;
  color: #111827;
  text-align: left;
}

@media (max-width: 640px) {
  .emsg-middle-cta,
  .emsg-final-cta {
    padding: 24px 18px;
    border-radius: 20px;
  }
  .emsg-cta-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }
  .emsg-button,
  a.emsg-button {
    width: 100%;
  }
}

.emsg-context-links {
  margin: 28px 0;
  padding: 18px 22px;
  background: #ffffff;
  border: 1px solid #e6ecf5;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}
.emsg-context-links p { margin: 0; }
.emsg-context-links a { font-weight: 700; color: #1e5bff; text-decoration: none; }
.emsg-context-links a:hover { text-decoration: underline; }

.emsg-related-links,
.emsg-city-links {
  margin: 42px 0;
  padding: 30px;
  background: #ffffff;
  border: 1px solid #e5eaf3;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}
.emsg-related-links h2,
.emsg-city-links h2 { margin-top: 0; }
.emsg-related-links ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-left: 0;
  list-style: none;
  margin: 18px 0 0;
}
.emsg-related-links li a,
.emsg-city-grid a {
  display: block;
  padding: 13px 16px;
  background: #f7faff;
  border: 1px solid #dfe9ff;
  border-radius: 14px;
  color: #111827;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.emsg-related-links li a:hover,
.emsg-city-grid a:hover {
  transform: translateY(-1px);
  border-color: #1e5bff;
  background: #eef5ff;
  color: #1e5bff;
}
.emsg-city-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
@media (max-width: 640px) {
  .emsg-related-links,
  .emsg-city-links { padding: 22px 18px; }
  .emsg-related-links ul,
  .emsg-city-grid { grid-template-columns: 1fr; }
}
