/*
Theme Name: NRPT Modern
Description: Refreshes the core Nick Rinard Physical Therapy patient pages while retaining the original theme for legacy content.
Template: physicaltherapyportlandoregon
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: nrpt-modern
*/
.nrpt-staging-banner{padding:12px 24px;background:#ead9a4;color:#193d37;text-align:center;font:600 14px Manrope,Arial,sans-serif}
.nrpt-wp-content{max-width:1050px;margin:auto;padding:60px 24px}.nrpt-wp-content img{max-width:100%;height:auto}.nrpt-wp-content article{margin:0 0 36px}.nrpt-wp-content a{text-decoration:underline}.nrpt-wp-content h1{font-size:clamp(32px,5vw,58px);margin-bottom:30px}.nrpt-wp-content h2{font-size:32px;margin-top:30px}
.nrpt-form-slot{padding:28px;border-radius:14px;background:#e4ecd9;color:#193d37;align-self:start}.nrpt-form-slot .wpcf7-form{padding:0;border:0;border-radius:0;background:transparent}.nrpt-request-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.nrpt-request-field-wide{grid-column:1/-1}.nrpt-form-slot label{display:block;margin-bottom:8px}.nrpt-form-slot input,.nrpt-form-slot select,.nrpt-form-slot textarea{width:100%;box-sizing:border-box;font:inherit;padding:12px}.nrpt-form-slot .wpcf7-submit{margin-top:20px;background:#193d37;color:#f8f6ef;border:0;border-radius:8px;min-height:56px;cursor:pointer}.nrpt-form-slot .wpcf7-not-valid-tip{font-size:16px;color:#8b2424}.nrpt-form-slot .wpcf7-response-output{font-size:16px;line-height:1.6}.nrpt-form-slot .wpcf7-spinner{margin-top:12px}
.nrpt-archive-search{padding:20px;background:#d3dfc8;border-radius:10px;margin:0 0 28px}.nrpt-archive-search>div{display:flex;gap:14px;align-items:end}.nrpt-archive-search input{margin:0}.nrpt-archive-search label{margin-bottom:10px}.nrpt-pagination{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:30px 0 0}.nrpt-pagination .page-numbers{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:8px 13px;border:1px solid #7d9873;border-radius:6px}.nrpt-pagination .current{background:#193d37;color:#f8f6ef}
.nrpt-story-archive{padding:55px 7%;background:#d3dfc8}.nrpt-story-archive>h2{font-size:clamp(32px,4vw,48px)}.nrpt-story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:30px}.nrpt-story-card{padding:28px;background:#edf1e5;border:1px solid #bdcbb3;border-radius:12px}.nrpt-story-card blockquote{font-size:18px;line-height:1.75;margin:0}.nrpt-story-author{font-weight:800;font-size:17px;margin:20px 0 0}.nrpt-arrow{width:18px;height:18px;display:inline-block;border-right:2px solid;border-top:2px solid;transform:rotate(45deg) scale(.6)}
@media(max-width:700px){.nrpt-request-grid,.nrpt-story-grid{grid-template-columns:1fr}.nrpt-request-field-wide{grid-column:auto}.nrpt-form-slot{padding:24px}.nrpt-archive-search>div{flex-direction:column;align-items:stretch}.nrpt-archive-search .btn{width:100%}.nrpt-story-card{padding:22px}}

.nrpt-form-slot .nrpt-request-field>p{margin:0}
.nrpt-form-slot .nrpt-request-field label+br{display:none}
.nrpt-form-slot .nrpt-request-field label{font-weight:700}
.nrpt-form-slot .nrpt-request-field input,.nrpt-form-slot .nrpt-request-field select,.nrpt-form-slot .nrpt-request-field textarea{border:1px solid #7f9a84;border-radius:8px;background:#fffdf5;color:#193d37;min-width:0}
.nrpt-form-slot .nrpt-request-actions,.nrpt-form-slot .nrpt-launch-form-note,.nrpt-form-slot .nrpt-request-privacy{font-size:15px;line-height:1.65}
.nrpt-form-slot a{text-decoration:underline;text-underline-offset:3px}
.nrpt-form-slot .nrpt-request-heading h3{margin-top:0}
#request,#appoint-form{scroll-margin-top:24px}
.nrpt-story-archive .nrpt-story-grid + h2{margin-top:40px}
.nrpt-story-card h3{margin:0 0 16px}

/* Highlight the existing scheduling confirmation, including no-JavaScript sends. */
.nrpt-form-slot .wpcf7-form.sent .wpcf7-response-output,
.nrpt-form-slot .nrpt-request-success {
  background: #193d37;
  border: 0;
  border-radius: 12px;
  color: #fffdf5;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.55;
  margin: 0.75rem 0 1rem;
  padding: 1rem 1.125rem;
}
.nrpt-form-slot .nrpt-request-success strong {
  color: inherit;
  display: block;
  font-size: clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}
.nrpt-form-slot .nrpt-request-success[hidden],
.nrpt-form-slot .wpcf7-form.nrpt-request-confirmed .wpcf7-response-output,
.nrpt-form-slot .wpcf7-form.nrpt-request-confirmed .nrpt-request-followup {
  display: none;
}
