/* =========================================================
   ATOM PHYSICAL THERAPY
   POST-SURGICAL ACQUISITION PAGES
   Shared styles for:
   - Knee Replacement
   - Hip Replacement
   - Shoulder / Rotator Cuff Surgery
   - ACL / Meniscus Surgery
   - Foot / Ankle Surgery
   ========================================================= */


/* =========================================================
   BASE
   ========================================================= */

.atom-postop-hero,
.atom-postop-status,
.atom-postop-section,
.atom-postop-life,
.atom-postop-conversion,
.atom-postop-local,
.atom-postop-final {
  box-sizing: border-box;
}

.atom-postop-hero *,
.atom-postop-status *,
.atom-postop-section *,
.atom-postop-life *,
.atom-postop-conversion *,
.atom-postop-local *,
.atom-postop-final * {
  box-sizing: border-box;
}

.atom-postop-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.atom-postop-eyebrow {
  margin: 0 0 14px;
  color: #ef6c23;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* =========================================================
   HERO
   ========================================================= */

.atom-postop-hero {
  padding: 72px 0;
  background: #292d31;
  color: #ffffff;
}

.atom-postop-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 56px;
  align-items: center;
}

.atom-postop-hero h1 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.atom-postop-hero__lead {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
}

.atom-postop-hero__copy {
  margin: 0;
  max-width: 760px;
  color: #d9dde1;
  font-size: 17px;
  line-height: 1.7;
}

.atom-postop-hero__panel {
  padding: 30px;
  background: #ffffff;
  color: #292d31;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.atom-postop-panel-label {
  margin: 0 0 10px;
  color: #ef6c23;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.atom-postop-hero__panel h2 {
  margin: 0 0 20px;
  color: #292d31;
  font-size: 26px;
  line-height: 1.25;
}

.atom-postop-panel-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #dde3e7;
  color: #5e666d;
  font-size: 14px;
  line-height: 1.65;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.atom-postop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.atom-postop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  text-align: center;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.atom-postop-btn:hover,
.atom-postop-btn:focus {
  transform: translateY(-1px);
}

.atom-postop-btn--primary {
  background: #ef6c23;
  border-color: #ef6c23;
  color: #ffffff !important;
}

.atom-postop-btn--primary:hover,
.atom-postop-btn--primary:focus {
  background: #d85d18;
  border-color: #d85d18;
  color: #ffffff !important;
}

.atom-postop-btn--secondary {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff !important;
}

.atom-postop-btn--secondary:hover,
.atom-postop-btn--secondary:focus {
  background: #ffffff;
  border-color: #ffffff;
  color: #292d31 !important;
}


/* =========================================================
   CHECKLIST
   ========================================================= */

.atom-postop-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.atom-postop-checklist li {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 30px;
  color: #40464c;
  font-size: 16px;
  line-height: 1.5;
}

.atom-postop-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: #ef6c23;
  font-weight: 800;
}


/* =========================================================
   STATUS STRIP
   ========================================================= */

.atom-postop-status {
  background: #ffffff;
  border-bottom: 1px solid #e3e7ea;
}

.atom-postop-status__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.atom-postop-status__item {
  min-width: 0;
  padding: 24px 28px;
  border-right: 1px solid #e3e7ea;
}

.atom-postop-status__item:first-child {
  padding-left: 0;
}

.atom-postop-status__item:last-child {
  padding-right: 0;
  border-right: 0;
}

.atom-postop-status__label {
  display: block;
  margin-bottom: 7px;
  color: #ef6c23;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.atom-postop-status__item strong {
  display: block;
  color: #292d31;
  font-size: 16px;
  line-height: 1.45;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.atom-postop-section {
  padding: 70px 0;
  background: #ffffff;
}

.atom-postop-section--soft {
  background: #f4f6f7;
}

.atom-postop-section-heading {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.atom-postop-section-heading h2,
.atom-postop-copy h2,
.atom-postop-local h2 {
  margin: 0 0 18px;
  color: #292d31;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.atom-postop-section-heading p,
.atom-postop-copy p {
  color: #5e666d;
  font-size: 17px;
  line-height: 1.75;
}

.atom-postop-copy p {
  margin: 0 0 18px;
}

.atom-postop-copy p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   SPLIT LAYOUT
   ========================================================= */

.atom-postop-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 50px;
  align-items: start;
}

.atom-postop-callout {
  padding: 30px;
  background: #f4f6f7;
  border-left: 4px solid #ef6c23;
  border-radius: 8px;
}

.atom-postop-callout__label {
  margin-bottom: 10px;
  color: #ef6c23;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.atom-postop-callout h3 {
  margin: 0 0 16px;
  color: #292d31;
  font-size: 23px;
  line-height: 1.3;
}

.atom-postop-callout p {
  margin: 0 0 14px;
  color: #5e666d;
  font-size: 15px;
  line-height: 1.7;
}

.atom-postop-callout p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   GOALS GRID
   ========================================================= */

.atom-postop-goals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.atom-postop-goal {
  padding: 28px;
  background: #ffffff;
  border: 1px solid #dde3e7;
  border-radius: 8px;
}

.atom-postop-goal__number {
  margin-bottom: 18px;
  color: #ef6c23;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.atom-postop-goal h3 {
  margin: 0 0 12px;
  color: #292d31;
  font-size: 21px;
  line-height: 1.25;
}

.atom-postop-goal p {
  margin: 0;
  color: #5e666d;
  font-size: 15px;
  line-height: 1.7;
}


/* =========================================================
   PROCESS
   ========================================================= */

.atom-postop-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #dde3e7;
  border-radius: 10px;
  overflow: hidden;
}

.atom-postop-process__item {
  padding: 28px;
  background: #ffffff;
  border-right: 1px solid #dde3e7;
}

.atom-postop-process__item:last-child {
  border-right: 0;
}

.atom-postop-process__step {
  display: block;
  margin-bottom: 14px;
  color: #ef6c23;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.atom-postop-process__item h3 {
  margin: 0 0 12px;
  color: #292d31;
  font-size: 20px;
  line-height: 1.25;
}

.atom-postop-process__item p {
  margin: 0;
  color: #5e666d;
  font-size: 14px;
  line-height: 1.65;
}


/* =========================================================
   LIFE / EMOTIONAL SECTION
   ========================================================= */

.atom-postop-life {
  padding: 72px 0;
  background: #292d31;
  color: #ffffff;
}

.atom-postop-life__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 54px;
  align-items: center;
}

.atom-postop-life h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.atom-postop-life p {
  margin: 0 0 16px;
  color: #d9dde1;
  font-size: 17px;
  line-height: 1.75;
}

.atom-postop-life p:last-child {
  margin-bottom: 0;
}

.atom-postop-life__quote {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.atom-postop-life__quote span {
  display: block;
  margin-bottom: 12px;
  color: #ef6c23;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.atom-postop-life__quote strong {
  display: block;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.3;
}


/* =========================================================
   MID-PAGE CONVERSION
   ========================================================= */

.atom-postop-conversion {
  padding: 34px 0;
  background: #ef6c23;
  color: #ffffff;
}

.atom-postop-conversion__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.atom-postop-conversion h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.2;
}

.atom-postop-conversion p {
  margin: 0;
  max-width: 760px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.65;
}

.atom-postop-conversion .atom-postop-actions {
  margin-top: 0;
  flex-shrink: 0;
}

.atom-postop-conversion .atom-postop-btn--primary {
  background: #292d31;
  border-color: #292d31;
}

.atom-postop-conversion .atom-postop-btn--primary:hover,
.atom-postop-conversion .atom-postop-btn--primary:focus {
  background: #343941;
  border-color: #343941;
}


/* =========================================================
   TRUST / WHY ATOM
   ========================================================= */

.atom-postop-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.atom-postop-trust__item {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #dde3e7;
  border-radius: 8px;
}

.atom-postop-trust__item strong {
  display: block;
  margin-bottom: 10px;
  color: #292d31;
  font-size: 17px;
  line-height: 1.35;
}

.atom-postop-trust__item p {
  margin: 0;
  color: #5e666d;
  font-size: 14px;
  line-height: 1.65;
}


/* =========================================================
   WHAT TO BRING
   ========================================================= */

.atom-postop-bring {
  padding: 28px 30px;
  background: #ffffff;
  border: 1px solid #dde3e7;
  border-radius: 8px;
}


/* =========================================================
   FAQ
   ========================================================= */

.atom-postop-faq {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid #dde3e7;
}

.atom-postop-faq details {
  margin: 0;
  border-bottom: 1px solid #dde3e7;
}

.atom-postop-faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  color: #292d31;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.atom-postop-faq summary::-webkit-details-marker {
  display: none;
}

.atom-postop-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: #ef6c23;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.atom-postop-faq details[open] summary::after {
  content: "−";
}

.atom-postop-faq__answer {
  padding: 0 44px 22px 0;
}

.atom-postop-faq__answer p {
  margin: 0;
  color: #5e666d;
  font-size: 15px;
  line-height: 1.7;
}


/* =========================================================
   LOCAL
   ========================================================= */

.atom-postop-local {
  padding: 58px 0;
  background: #f4f6f7;
}

.atom-postop-local__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.atom-postop-local p {
  margin: 0 0 10px;
  color: #5e666d;
  font-size: 16px;
  line-height: 1.7;
}

.atom-postop-local__address {
  padding: 25px 28px;
  background: #ffffff;
  border: 1px solid #dde3e7;
  border-radius: 8px;
}

.atom-postop-local__address strong {
  display: block;
  margin-bottom: 8px;
  color: #292d31;
  font-size: 18px;
}

.atom-postop-local__address span {
  display: block;
  color: #5e666d;
  font-size: 15px;
  line-height: 1.55;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.atom-postop-final {
  padding: 68px 0;
  background: #343941;
  color: #ffffff;
}

.atom-postop-final__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.atom-postop-final h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.atom-postop-final p {
  margin: 0;
  max-width: 740px;
  color: #d9dde1;
  font-size: 16px;
  line-height: 1.7;
}

.atom-postop-final .atom-postop-actions {
  margin-top: 0;
  flex-shrink: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

  .atom-postop-hero__grid,
  .atom-postop-split,
  .atom-postop-life__inner,
  .atom-postop-local__inner {
    grid-template-columns: 1fr;
  }

  .atom-postop-hero__grid {
    gap: 38px;
  }

  .atom-postop-goals {
    grid-template-columns: repeat(2, 1fr);
  }

  .atom-postop-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .atom-postop-process__item {
    border-bottom: 1px solid #dde3e7;
  }

  .atom-postop-process__item:nth-child(2) {
    border-right: 0;
  }

  .atom-postop-process__item:nth-child(3),
  .atom-postop-process__item:nth-child(4) {
    border-bottom: 0;
  }

  .atom-postop-trust {
    grid-template-columns: repeat(2, 1fr);
  }

  .atom-postop-conversion__inner,
  .atom-postop-final__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .atom-postop-conversion .atom-postop-actions,
  .atom-postop-final .atom-postop-actions {
    margin-top: 0;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

  .atom-postop-container {
    width: min(100% - 28px, 1180px);
  }

  .atom-postop-hero {
    padding: 48px 0;
  }

  .atom-postop-hero h1 {
    font-size: 36px;
  }

  .atom-postop-hero__lead {
    font-size: 19px;
  }

  .atom-postop-hero__copy {
    font-size: 16px;
  }

  .atom-postop-hero__panel {
    padding: 24px;
  }

  .atom-postop-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .atom-postop-btn {
    width: 100%;
  }

  .atom-postop-status__grid {
    grid-template-columns: 1fr;
  }

  .atom-postop-status__item,
  .atom-postop-status__item:first-child,
  .atom-postop-status__item:last-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid #e3e7ea;
  }

  .atom-postop-status__item:last-child {
    border-bottom: 0;
  }

  .atom-postop-section {
    padding: 52px 0;
  }

  .atom-postop-section-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .atom-postop-section-heading h2,
  .atom-postop-copy h2,
  .atom-postop-local h2 {
    font-size: 31px;
  }

  .atom-postop-section-heading p,
  .atom-postop-copy p {
    font-size: 16px;
  }

  .atom-postop-split {
    gap: 30px;
  }

  .atom-postop-callout {
    padding: 24px;
  }

  .atom-postop-goals {
    grid-template-columns: 1fr;
  }

  .atom-postop-goal {
    padding: 23px;
  }

  .atom-postop-process {
    grid-template-columns: 1fr;
  }

  .atom-postop-process__item,
  .atom-postop-process__item:nth-child(2),
  .atom-postop-process__item:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid #dde3e7;
  }

  .atom-postop-process__item:last-child {
    border-bottom: 0;
  }

  .atom-postop-life {
    padding: 54px 0;
  }

  .atom-postop-life__inner {
    gap: 30px;
  }

  .atom-postop-life h2 {
    font-size: 31px;
  }

  .atom-postop-life__quote {
    padding: 24px;
  }

  .atom-postop-life__quote strong {
    font-size: 23px;
  }

  .atom-postop-conversion {
    padding: 34px 0;
  }

  .atom-postop-conversion h2 {
    font-size: 25px;
  }

  .atom-postop-trust {
    grid-template-columns: 1fr;
  }

  .atom-postop-faq summary {
    padding-right: 34px;
    font-size: 16px;
  }

  .atom-postop-faq__answer {
    padding-right: 0;
  }

  .atom-postop-local {
    padding: 48px 0;
  }

  .atom-postop-local__inner {
    gap: 26px;
  }

  .atom-postop-final {
    padding: 52px 0;
  }

  .atom-postop-final h2 {
    font-size: 31px;
  }

}


/* =========================================================
   TYPOGRAPHY SCALE REFINEMENT
   ========================================================= */

/* Hero */

.atom-postop-hero h1 {
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.08;
}

.atom-postop-hero__lead {
  font-size: 18px;
  line-height: 1.5;
}

.atom-postop-hero__copy {
  font-size: 15px;
  line-height: 1.65;
}

.atom-postop-hero__panel h2 {
  font-size: 21px;
  line-height: 1.25;
}


/* Main section headings */

.atom-postop-section-heading h2,
.atom-postop-copy h2,
.atom-postop-local h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.18;
}


/* Main body copy */

.atom-postop-section-heading p,
.atom-postop-copy p {
  font-size: 15px;
  line-height: 1.7;
}


/* Callout */

.atom-postop-callout h3 {
  font-size: 19px;
  line-height: 1.3;
}

.atom-postop-callout p {
  font-size: 14px;
}


/* Goal cards */

.atom-postop-goal h3 {
  font-size: 18px;
}

.atom-postop-goal p {
  font-size: 14px;
}


/* Process */

.atom-postop-process__item h3 {
  font-size: 18px;
}

.atom-postop-process__item p {
  font-size: 14px;
}


/* Dark emotional section */

.atom-postop-life h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.atom-postop-life p {
  font-size: 15px;
}

.atom-postop-life__quote strong {
  font-size: 23px;
}


/* Mid-page CTA */

.atom-postop-conversion h2 {
  font-size: 24px;
}


/* Final CTA */

.atom-postop-final h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.atom-postop-final p {
  font-size: 15px;
}


/* Mobile */

@media (max-width: 680px) {

  .atom-postop-hero h1 {
    font-size: 32px;
  }

  .atom-postop-hero__lead {
    font-size: 17px;
  }

  .atom-postop-section-heading h2,
  .atom-postop-copy h2,
  .atom-postop-local h2,
  .atom-postop-life h2,
  .atom-postop-final h2 {
    font-size: 27px;
  }

  .atom-postop-life__quote strong {
    font-size: 21px;
  }

  .atom-postop-conversion h2 {
    font-size: 22px;
  }

}


/* =========================================================
   FINAL TYPE SCALE REFINEMENT
   ========================================================= */

.atom-postop-hero h1 {
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.08;
}

.atom-postop-hero__lead {
  font-size: 17px;
}

.atom-postop-hero__copy {
  font-size: 14px;
  line-height: 1.65;
}

.atom-postop-hero__panel h2 {
  font-size: 19px;
}

.atom-postop-section-heading h2,
.atom-postop-copy h2,
.atom-postop-local h2 {
  font-size: clamp(24px, 2.6vw, 31px);
  line-height: 1.18;
}

.atom-postop-section-heading p,
.atom-postop-copy p,
.atom-postop-life p,
.atom-postop-final p,
.atom-postop-local p {
  font-size: 14px;
  line-height: 1.7;
}

.atom-postop-callout h3 {
  font-size: 18px;
}

.atom-postop-callout p,
.atom-postop-goal p,
.atom-postop-process__item p,
.atom-postop-trust__item p,
.atom-postop-faq__answer p {
  font-size: 13.5px;
}

.atom-postop-goal h3,
.atom-postop-process__item h3 {
  font-size: 17px;
}

.atom-postop-life h2,
.atom-postop-final h2 {
  font-size: clamp(24px, 2.6vw, 31px);
}

.atom-postop-life__quote strong {
  font-size: 19px;
  white-space: nowrap;
}

.atom-postop-conversion h2 {
  font-size: 22px;
}

@media (max-width: 680px) {

  .atom-postop-hero h1 {
    font-size: 29px;
  }

  .atom-postop-section-heading h2,
  .atom-postop-copy h2,
  .atom-postop-local h2,
  .atom-postop-life h2,
  .atom-postop-final h2 {
    font-size: 25px;
  }

  .atom-postop-life__quote strong {
    font-size: 18px;
    white-space: normal;
  }
}