/* Server-rendered layout. Selectors target PHP markup and leave the enhanced page layout to site.css. */
.gsp-site.gsp-directory > .gsp-page-intro,
.gsp-site.gsp-directory > .gsp-filter-form,
.gsp-site.gsp-directory > .gsp-result-count,
.gsp-site.gsp-directory > .gsp-provider-grid,
.gsp-site.gsp-directory > .gsp-pagination {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}
.gsp-site.gsp-directory > .gsp-page-intro { padding-block: 58px 28px; }
.gsp-site.gsp-directory > .gsp-page-intro h1 { max-width: 900px; font-size: clamp(30px, 4.4vw, 50px); }
.gsp-site.gsp-directory > .gsp-page-intro p:last-child { max-width: 720px; color: var(--gsp-muted, #586579); }
.gsp-site.gsp-directory > .gsp-filter-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
  padding: 24px;
  margin-bottom: 28px;
  border: 1px solid var(--gsp-border, #e2e8ed);
  border-radius: 14px;
  background: var(--gsp-soft, #f5f7f9);
}
.gsp-filter-form > label,
.gsp-workspace form > label,
.gsp-inquiry-form > label { display: grid; gap: 7px; min-width: 0; font-size: 13px; font-weight: 650; }
.gsp-filter-form input,
.gsp-filter-form select,
.gsp-workspace form input,
.gsp-workspace form textarea,
.gsp-inquiry-form input,
.gsp-inquiry-form textarea { width: 100%; }
.gsp-site.gsp-directory > .gsp-result-count { color: var(--gsp-muted, #586579); font-size: 14px; margin-bottom: 18px; }
.gsp-site.gsp-directory > .gsp-provider-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gsp-provider-card { min-width: 0; overflow: hidden; border: 1px solid var(--gsp-border, #e2e8ed); border-radius: 14px; background: #fff; }
.gsp-provider-card > .gsp-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; height: 100%; padding: 25px; }
.gsp-provider-card .gsp-card-body > * { max-width: 100%; margin: 0; overflow-wrap: anywhere; }
.gsp-provider-card .gsp-card-body > h2 { font-size: 23px; letter-spacing: -.025em; }
.gsp-provider-card .gsp-source-label { font-size: 11px; line-height: 1.5; color: var(--gsp-muted, #586579); }
.gsp-provider-card .gsp-rating { font-size: 13px; font-weight: 700; }
.gsp-provider-card .gsp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gsp-provider-card .gsp-tag { padding: 4px 8px; border-radius: 5px; background: #edf6f1; color: #28654b; font-size: 11px; }
.gsp-provider-card .gsp-button { font-size: 12px; width: 100%; }
.gsp-provider-card .gsp-button-secondary { margin-top: auto; background: #fff; border-color: var(--gsp-border, #e2e8ed); }
.gsp-site.gsp-directory > .gsp-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; padding-block: 35px 65px; }
.gsp-pagination > a { padding: 9px 16px; border: 1px solid var(--gsp-border, #e2e8ed); border-radius: 7px; text-decoration: underline; }
.gsp-provider-grid > .gsp-empty { grid-column: 1 / -1; min-height: 160px; padding: 36px; background: var(--gsp-soft, #f5f7f9); border-radius: 12px; }
.gsp-site.gsp-provider-profile > :is(h1, p, .gsp-back-link, .gsp-profile-actions, .gsp-prose, .gsp-claim-panel) {
  display: block;
  width: min(1040px, calc(100% - 48px));
  margin-inline: auto;
}
.gsp-site.gsp-provider-profile > .gsp-back-link { padding-top: 38px; margin-bottom: 32px; color: var(--gsp-link, #00794d); }
.gsp-site.gsp-provider-profile > h1 { font-size: clamp(30px, 4.4vw, 50px); margin-bottom: 20px; overflow-wrap: anywhere; }
.gsp-site.gsp-provider-profile > .gsp-eyebrow { margin-bottom: 12px; }
.gsp-site.gsp-provider-profile > .gsp-source-label { padding: 15px 18px; border-left: 3px solid #9eb8a9; background: #f0f5f2; border-radius: 5px; color: var(--gsp-muted, #586579); font-size: 12px; }
.gsp-site.gsp-provider-profile > .gsp-profile-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-block: 28px 45px; }
.gsp-site.gsp-provider-profile > .gsp-prose { max-width: 1040px; margin-bottom: 45px; overflow-wrap: anywhere; }
.gsp-site.gsp-provider-profile > .gsp-prose h2 { margin-top: 36px; font-size: 27px; }
.gsp-site.gsp-provider-profile > .gsp-prose a { color: var(--gsp-link, #00794d); text-decoration: underline; }
.gsp-site.gsp-provider-profile > .gsp-prose dl { display: grid; grid-template-columns: minmax(100px, 150px) 1fr; gap: 7px 20px; }
.gsp-site.gsp-provider-profile > .gsp-prose dd { margin: 0; }
.gsp-site.gsp-provider-profile > .gsp-claim-panel { padding: 28px; margin-bottom: 64px; border: 1px solid #dce8df; border-radius: 12px; background: #f3f8f5; }
.gsp-site.gsp-provider-profile > .gsp-claim-panel h2 { font-size: 25px; }
.gsp-site.gsp-workspace { width: min(1040px, calc(100% - 48px)); padding-block: 55px 70px; margin-inline: auto; }
.gsp-site.gsp-workspace h1 { font-size: clamp(30px, 4.4vw, 46px); }
.gsp-site.gsp-workspace h2 { margin-top: 30px; font-size: 27px; }
.gsp-site.gsp-workspace > p { max-width: 780px; }
.gsp-workspace .gsp-workspace-provider,
.gsp-workspace > article { padding: 27px; margin-block: 24px; border: 1px solid var(--gsp-border, #e2e8ed); border-radius: 12px; overflow-wrap: anywhere; }
.gsp-workspace .gsp-workspace-provider h2 { margin-top: 0; }
.gsp-workspace .gsp-workspace-provider > a { color: var(--gsp-link, #00794d); text-decoration: underline; }
.gsp-workspace [data-gsp-profile-change] { display: grid; gap: 18px; margin-top: 24px; }
.gsp-workspace [data-gsp-profile-change] textarea { min-height: 180px; resize: vertical; }
.gsp-workspace [data-gsp-profile-change] > button { justify-self: start; }
.gsp-workspace [data-gsp-change-status] { color: var(--gsp-link, #00794d); overflow-wrap: anywhere; }
.gsp-inquiry-form { display: grid; gap: 18px; width: min(640px, 100%); margin-block: 24px; }
.gsp-inquiry-form > label:has(input[type="checkbox"]) { display: flex; align-items: flex-start; gap: 10px; }
.gsp-inquiry-form input[type="checkbox"] { flex: 0 0 18px; width: 18px; min-height: 18px; }
.gsp-provider-logo { width: 100px; height: 64px; object-fit: contain; object-position: left center; }
.gsp-site.gsp-provider-profile > .gsp-profile-logo { width: min(1040px, calc(100% - 48px)); margin: 20px auto; }
.gsp-profile-logo img { max-width: 180px; max-height: 110px; width: auto; height: auto; object-fit: contain; }
.gsp-provider-logo.gsp-logo-dark,
.gsp-profile-logo > .gsp-logo-dark { background: #10203b; padding: 9px; border-radius: 8px; }
.gsp-professionals-directory .gsp-provider-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-block: 28px; }
.gsp-professionals-directory .gsp-filter-form { display: flex; align-items: end; gap: 18px; flex-wrap: wrap; padding: 22px; background: var(--gsp-soft, #f5f7f9); border-radius: 12px; margin-block: 25px; }
.gsp-professionals-directory .gsp-filter-form > label { flex: 1 1 180px; }
.gsp-professional-photo { display: block; object-fit: cover; border-radius: 50%; max-width: 100%; }
.gsp-professional-profile > section > h1 { margin-block: 28px; }
.gsp-professional-profile > section > .gsp-professional-photo { margin-bottom: 22px; }
.gsp-professional-profile > section > p { max-width: 850px; white-space: pre-line; }
@media (max-width: 900px) {
  .gsp-site.gsp-directory > .gsp-provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gsp-professionals-directory .gsp-provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gsp-site.gsp-directory > .gsp-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .gsp-site.gsp-directory > .gsp-page-intro { padding-top: 34px; }
  .gsp-site.gsp-directory > .gsp-filter-form { grid-template-columns: 1fr; padding: 18px; gap: 13px; }
  .gsp-site.gsp-directory > .gsp-provider-grid { grid-template-columns: 1fr; }
  .gsp-professionals-directory .gsp-provider-grid { grid-template-columns: 1fr; }
  .gsp-provider-card > .gsp-card-body { padding: 22px; }
  .gsp-site.gsp-provider-profile > .gsp-profile-actions { flex-direction: column; align-items: stretch; }
  .gsp-site.gsp-provider-profile > .gsp-claim-panel,
  .gsp-workspace .gsp-workspace-provider,
  .gsp-workspace > article { padding: 21px; }
  .gsp-site.gsp-provider-profile > .gsp-claim-panel .gsp-button { display: flex; width: 100%; margin-top: 10px; }
}
