/* =========================================================
   ATOM PHYSICAL THERAPY
   SPECIALIZED SERVICE PAGES
   Explicit two-column layout
   ========================================================= */


/* =========================================================
   FOUNDATION
   ========================================================= */

.atom-specialty-page {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #292d31;
  background: #ffffff;
}

.atom-specialty-page *,
.atom-specialty-page *::before,
.atom-specialty-page *::after {
  box-sizing: border-box;
}

.atom-specialty-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}


/* =========================================================
   EYEBROWS
   ========================================================= */

.atom-specialty-eyebrow {
  margin-bottom: 9px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #ef6c23;
}

.atom-specialty-eyebrow--light {
  color: #ffffff;
}


/* =========================================================
   HERO
   ========================================================= */

.atom-specialty-hero {
  padding: 38px 0;
  background: #f5f7f8;
  border-bottom: 1px solid #e6e9eb;
}

.atom-specialty-hero__grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.atom-specialty-hero__titleblock {
  min-width: 0;
}

.atom-specialty-hero__titleblock h1 {
  margin: 0;
  font-size: 31px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #292d31;
}

.atom-specialty-hero__content {
  min-width: 0;
  width: 100%;
}

.atom-specialty-hero__lead {
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #555d63;
}

.atom-specialty-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.atom-specialty-hero__note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: #666e74;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.atom-specialty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 12px 22px;

  border-radius: 3px;
  text-decoration: none !important;

  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.atom-specialty-btn:hover {
  transform: translateY(-1px);
}

.atom-specialty-btn--primary {
  background: #ef6c23;
  border: 1px solid #ef6c23;
  color: #ffffff !important;
}

.atom-specialty-btn--primary:hover {
  background: #d85d18;
  border-color: #d85d18;
}

.atom-specialty-btn--secondary {
  background: transparent;
  border: 1px solid #292d31;
  color: #292d31 !important;
}

.atom-specialty-btn--secondary:hover {
  background: #292d31;
  color: #ffffff !important;
}

.atom-specialty-btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #ffffff !important;
}

.atom-specialty-btn--outline:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #292d31 !important;
}


/* =========================================================
   CONTENT SECTIONS
   ========================================================= */

.atom-specialty-section {
  padding: 32px 0;
  background: #ffffff;
}

.atom-specialty-section--soft {
  background: #f6f7f8;
  border-top: 1px solid #eceeef;
  border-bottom: 1px solid #eceeef;
}

.atom-specialty-section--dark {
  background: #292d31;
  color: #ffffff;
}


/* =========================================================
   EXPLICIT TWO-COLUMN ROW
   ========================================================= */

.atom-specialty-row {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 48px;
  align-items: start;

  width: 100%;
}

.atom-specialty-headingblock {
  min-width: 0;
}

.atom-specialty-headingblock h2 {
  margin: 0;

  font-size: 22px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.01em;

  color: #292d31;
}

.atom-specialty-headingblock h2::after {
  content: "";
  display: block;

  width: 38px;
  height: 2px;

  margin-top: 10px;

  background: #ef6c23;
}

.atom-specialty-headingblock--light h2 {
  color: #ffffff;
}

.atom-specialty-copy {
  min-width: 0;
  width: 100%;
}

.atom-specialty-copy p {
  width: 100%;
  max-width: none !important;

  margin: 0 0 12px;

  font-size: 15px;
  line-height: 1.68;

  color: #555d63;
}

.atom-specialty-copy p:last-child {
  margin-bottom: 0;
}

.atom-specialty-copy--light p {
  color: rgba(255, 255, 255, 0.84);
}


/* =========================================================
   INFORMATION CARDS
   ========================================================= */

.atom-specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;

  width: 100%;
  margin-top: 24px;
}

.atom-specialty-info-card {
  min-width: 0;
  padding: 22px;

  border: 1px solid #dfe3e6;
  background: #ffffff;

  box-shadow: 0 4px 14px rgba(30, 38, 45, 0.035);
}

.atom-specialty-info-card h3 {
  margin: 0 0 8px;

  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;

  color: #292d31;
}

.atom-specialty-info-card p {
  width: 100%;
  max-width: none !important;
  margin: 0;

  font-size: 14px;
  line-height: 1.6;

  color: #5a6268;
}


/* =========================================================
   DISCLAIMER
   ========================================================= */

.atom-specialty-disclaimer {
  width: 100%;
  margin-top: 18px;
  padding: 15px 18px;

  border-left: 3px solid #ef6c23;
  background: #ffffff;

  font-size: 13px;
  line-height: 1.6;
  color: #60686e;
}


/* =========================================================
   CTA
   ========================================================= */

.atom-specialty-cta {
  padding: 32px 0;
  background: #343941;
  color: #ffffff;
}

.atom-specialty-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.atom-specialty-cta__content {
  min-width: 0;
}

.atom-specialty-cta h2 {
  margin: 0 0 8px;

  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;

  color: #ffffff;
}

.atom-specialty-cta p {
  max-width: 720px;
  margin: 0;

  font-size: 14px;
  line-height: 1.6;

  color: rgba(255, 255, 255, 0.82);
}

.atom-specialty-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .atom-specialty-hero__grid,
  .atom-specialty-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .atom-specialty-grid {
    grid-template-columns: 1fr;
  }

  .atom-specialty-cta__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .atom-specialty-container {
    width: min(100% - 32px, 1180px);
  }

  .atom-specialty-hero {
    padding: 32px 0;
  }

  .atom-specialty-hero__titleblock h1 {
    font-size: 28px;
  }

  .atom-specialty-hero__lead {
    font-size: 16px;
  }

  .atom-specialty-hero__actions {
    flex-direction: column;
  }

  .atom-specialty-hero__actions .atom-specialty-btn {
    width: 100%;
  }

  .atom-specialty-section {
    padding: 28px 0;
  }

  .atom-specialty-headingblock h2 {
    font-size: 21px;
  }

  .atom-specialty-info-card {
    padding: 20px 19px;
  }

  .atom-specialty-cta {
    padding: 30px 0;
  }

  .atom-specialty-cta h2 {
    font-size: 22px;
  }

  .atom-specialty-cta__actions {
    width: 100%;
    flex-direction: column;
  }

  .atom-specialty-cta__actions .atom-specialty-btn {
    width: 100%;
  }

}

/* Functional Capacity page — long hero title adjustment */
.atom-specialty-title--functional {
  font-size: 23px !important;
  line-height: 1.18 !important;
}