.services-page {
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: 1.5rem 0.5rem 2.5rem;
}

.services-page h1,
.services-page h2,
.services-page h3,
.services-page p,
.services-page li { text-align: left; }

.services-page-header { margin-bottom: 1.5rem; }
.services-page-header h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; }

.services-flyer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}
.services-artisan-list { display: contents; }

.service-flyer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #d4d4d4;
  border-top: 3px solid #245860;
  border-radius: 0.45rem;
  background: #fff;
  color: #222;
  scroll-margin-top: 1rem;
  overflow-wrap: anywhere;
}
.service-flyer--print { border-top-color: #d2a12c; }
.service-flyer-heading { border-bottom: 1px solid #d4d4d4; padding-bottom: 0.75rem; }
.service-flyer-heading p { font-size: 0.9rem; line-height: 1.5; color: #505050; }
.service-flyer-heading h2 { margin: 0.25rem 0; font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.2; }
.service-flyer-heading a { color: #245860; text-underline-offset: 0.2em; }
.service-description,
.service-flyer li { font-size: 1rem; line-height: 1.6; }
.service-flyer > ul { padding-left: 1.25rem; }
.service-flyer > ul li + li { margin-top: 0.35rem; }

.service-provider-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.service-provider-list li + li { padding-top: 0.75rem; border-top: 1px solid #e1e1e1; }
.service-provider-list h3 { font-size: 1.1rem; line-height: 1.3; margin-bottom: 0.35rem; }
.service-provider-list a { display: inline-flex; align-items: center; min-height: 44px; color: #245860; }
.service-provider-list p { color: #505050; }

.service-flyer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 44px;
  max-width: 100%;
  border: 1px solid #245860;
  border-radius: 0.4rem;
  padding: 0.7rem 1rem;
  background: #245860;
  color: #fff;
  font: inherit;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.service-flyer-button:hover { background: #173e44; }
.service-flyer-button:focus-visible,
.service-flyer-heading a:focus-visible,
.service-provider-list a:focus-visible { outline: 3px solid #d2a12c; outline-offset: 3px; }

@media (max-width: 700px) {
  .services-page { width: 100%; padding-inline: 0; }
  .services-flyer-grid { grid-template-columns: minmax(0, 1fr); }
  .service-flyer { padding: 1rem; }
  .service-flyer-button { width: 100%; }
}
