/*
 * Home and office pages
 * Extends the patient-guide visual system so the public-facing practice pages
 * feel consistent with the treatment guides without copying their content.
 */

body.practice-page-shell {
  --practice-card-border: #cfdee7;
  --practice-card-shadow: 0 13px 30px rgba(17, 49, 72, 0.085);
  --practice-card-shadow-hover: 0 20px 42px rgba(17, 49, 72, 0.14);
  scroll-behavior: smooth;
}

.practice-page {
  margin-bottom: 78px;
}

/* Hero ------------------------------------------------------------------ */
.patient-guide .practice-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: stretch;
  gap: clamp(30px, 4vw, 56px);
  padding-top: clamp(36px, 4.8vw, 60px);
  padding-bottom: clamp(36px, 4.8vw, 60px);
}

.practice-hero .guide-hero-copy {
  align-self: center;
}

.practice-hero .guide-hero-copy h1 {
  max-width: 14ch;
}

.practice-home-hero .guide-hero-copy h1 {
  max-width: 13ch;
}

.practice-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 27px;
}

.practice-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 47px;
  box-sizing: border-box;
  padding: 11px 20px;
  border: 1px solid var(--guide-navy);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, box-shadow 0.18s ease;
}

.practice-button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.practice-button--primary {
  background: var(--guide-navy);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(21, 57, 83, 0.17);
}

.practice-button--primary:hover {
  transform: translateY(-2px);
  background: var(--guide-blue);
  border-color: var(--guide-blue);
  color: #ffffff;
  box-shadow: 0 11px 25px rgba(21, 57, 83, 0.22);
}

.practice-button--secondary {
  border-color: #bfd3df;
  background: rgba(255, 255, 255, 0.84);
  color: var(--guide-navy);
  box-shadow: 0 7px 18px rgba(17, 49, 72, 0.07);
}

.practice-button--secondary:hover {
  transform: translateY(-2px);
  border-color: #9ebdce;
  background: #ffffff;
  color: var(--guide-blue);
  box-shadow: 0 10px 23px rgba(17, 49, 72, 0.11);
}

.practice-button:focus-visible,
.practice-card-link:focus-visible,
.practice-text-link:focus-visible,
.practice-location-card a:focus-visible,
.practice-resource-card:focus-visible,
.practice-doctor-card a:focus-visible,
.practice-map-actions a:focus-visible {
  outline: 3px solid rgba(47, 120, 183, 0.34);
  outline-offset: 4px;
}

.practice-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 690px;
  margin-top: 25px;
}

.practice-highlight {
  min-width: 0;
  padding: 12px 13px 11px;
  border: 1px solid #dce8ee;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.76);
}

.practice-highlight strong,
.practice-highlight span {
  display: block;
}

.practice-highlight strong {
  color: var(--guide-navy-deep);
  font-size: 0.94rem;
  line-height: 1.28;
}

.practice-highlight span {
  margin-top: 3px;
  color: var(--guide-muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.practice-hero-media {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-width: 0;
  min-height: 350px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #cbdde7;
  border-radius: 23px;
  background: #eef4f7;
  box-shadow: var(--guide-shadow-soft);
}

.practice-hero-media::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: inherit;
  pointer-events: none;
}

.practice-hero-media > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}

.practice-location-hero .practice-hero-media > img {
  object-position: center 42%;
}

.practice-location-hero--dexter .practice-hero-media > img {
  object-position: center 34%;
}



/* Two-office visual used on the home page. */
















/* Main content ----------------------------------------------------------- */
.practice-layout {
  grid-template-columns: minmax(0, 1fr) 284px;
  gap: 30px;
}

.practice-article {
  padding: clamp(31px, 4vw, 49px);
}

.practice-article-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin-bottom: 37px;
  padding-bottom: 27px;
  border-bottom: 1px solid var(--guide-border);
}

.practice-article-eyebrow {
  margin: 0 0 5px;
  color: var(--guide-green);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.practice-article-header h2 {
  margin: 0;
  color: var(--guide-navy-deep);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.13;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.practice-article-header h2::after {
  content: none;
}





.patient-guide .practice-section {
  padding-bottom: 43px;
}

.patient-guide .practice-section + .practice-section {
  margin-top: 43px;
}

.practice-section-intro {
  max-width: 72ch;
  margin-bottom: 23px !important;
  color: #526a79 !important;
  font-size: 0.98rem !important;
  line-height: 1.68 !important;
}

.practice-text-link {
  color: var(--guide-navy);
  font-weight: 800;
  text-decoration-color: #9fb4c1;
  text-underline-offset: 4px;
}

.practice-text-link:hover {
  color: var(--guide-blue);
}

/* Home: office cards ----------------------------------------------------- */
.practice-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 21px;
  margin-top: 23px;
}

.practice-location-card {
  position: relative;
  display: grid;
  grid-template-rows: 220px auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--practice-card-border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--practice-card-shadow);
  transition: transform 0.19s ease, border-color 0.19s ease, box-shadow 0.19s ease;
}

.practice-location-card::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--guide-blue) 0 72%, var(--guide-green) 72% 100%);
}

.practice-location-card:hover {
  transform: translateY(-5px);
  border-color: #a9c8d9;
  box-shadow: var(--practice-card-shadow-hover);
}

.practice-location-card__media {
  position: relative;
  overflow: hidden;
  background: #e9f0f4;
}

.practice-location-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(16, 45, 67, 0.54));
  pointer-events: none;
}

.practice-location-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.practice-location-card:hover .practice-location-card__media img {
  transform: scale(1.025);
}

.practice-location-card__city {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  background: rgba(16, 45, 67, 0.82);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.practice-location-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 21px 20px;
}

.practice-location-card h3 {
  margin: 0;
  color: var(--guide-navy-deep);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 1.8vw, 1.62rem);
  line-height: 1.18;
  letter-spacing: -0.012em;
}

.practice-location-card h3::after {
  content: none;
}

.practice-location-card__description {
  margin: 10px 0 16px !important;
  color: #486171 !important;
  font-size: 0.9rem !important;
  line-height: 1.58 !important;
}

.practice-location-facts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.practice-location-fact {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin: 0;
  color: #385365;
  font-size: 0.84rem;
  line-height: 1.48;
}

.practice-location-fact svg {
  width: 19px;
  height: 19px;
  margin-top: 1px;
  padding: 4px;
  border-radius: 9px;
  background: var(--guide-blue-soft);
  color: var(--guide-blue);
}

.practice-location-fact a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.practice-location-fact a:hover {
  color: var(--guide-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.practice-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
  padding-top: 19px;
}

.practice-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  box-sizing: border-box;
  padding: 8px 13px;
  border: 1px solid #c6d9e4;
  border-radius: 999px;
  background: #ffffff;
  color: var(--guide-navy);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease,
    border-color 0.16s ease;
}

.practice-card-link--primary {
  border-color: var(--guide-navy);
  background: var(--guide-navy);
  color: #ffffff;
}

.practice-card-link:hover {
  transform: translateY(-1px);
  border-color: var(--guide-blue);
  color: var(--guide-blue);
}

.practice-card-link--primary:hover {
  background: var(--guide-blue);
  color: #ffffff;
}

/* Home: patient resources ------------------------------------------------ */
.practice-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 23px;
}

.practice-resource-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-width: 0;
  min-height: 245px;
  box-sizing: border-box;
  padding: 21px 20px 18px;
  overflow: hidden;
  border: 1px solid var(--practice-card-border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 86% 13%, rgba(47, 120, 183, 0.07), transparent 7rem),
    linear-gradient(145deg, #ffffff 0%, #f7fafc 100%);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(17, 49, 72, 0.07);
  transition: transform 0.19s ease, border-color 0.19s ease, box-shadow 0.19s ease;
}

.practice-resource-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--guide-blue);
}

.practice-resource-card:nth-child(2)::before {
  background: var(--guide-green);
}

.practice-resource-card--urgent::before {
  background: var(--guide-warm);
}

.practice-resource-card:hover {
  transform: translateY(-4px);
  border-color: #aec9d8;
  box-shadow: 0 16px 34px rgba(17, 49, 72, 0.12);
}







.practice-resource-card h3 {
  margin: 16px 0 0;
  color: var(--guide-navy-deep);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.2;
}

.practice-resource-card h3::after {
  content: none;
}

.practice-resource-card p {
  margin: 10px 0 0 !important;
  color: #486171 !important;
  font-size: 0.88rem !important;
  line-height: 1.58 !important;
}

.practice-resource-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid #dfe9ee;
  color: var(--guide-navy);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
}

.practice-resource-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--guide-navy);
  color: #ffffff;
  font-size: 0.94rem;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.practice-resource-card:hover .practice-resource-card__arrow {
  transform: translateX(3px);
  background: var(--guide-blue);
}

/* Home: practice values -------------------------------------------------- */
.practice-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 23px;
}

.practice-value-card {
  min-width: 0;
  padding: 20px 18px 19px;
  border: 1px solid #d6e5dc;
  border-radius: 17px;
  background: linear-gradient(145deg, #ffffff 0%, #f2f9f4 100%);
}



.practice-value-card h3 {
  margin: 14px 0 0;
  color: var(--guide-navy-deep);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.23;
}

.practice-value-card h3::after {
  content: none;
}

.practice-value-card p {
  margin: 9px 0 0 !important;
  color: #486171 !important;
  font-size: 0.86rem !important;
  line-height: 1.58 !important;
}

/* Office pages: summary -------------------------------------------------- */
















/* Office pages: services ------------------------------------------------- */
.practice-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 23px;
}

.practice-service-card {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  min-width: 0;
  padding: 17px;
  border: 1px solid #dce7ed;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff 0%, #f7fafc 100%);
}

.practice-service-card__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 41px;
  height: 41px;
  border: 1px solid #c9dfd1;
  border-radius: 13px;
  background: var(--guide-green-soft);
  color: #37724e;
}

.practice-service-card__check svg {
  width: 21px;
  height: 21px;
}

.practice-service-card h3 {
  margin: 1px 0 0;
  color: var(--guide-navy-deep);
  font-size: 0.96rem;
  line-height: 1.35;
}

.practice-service-card h3::after {
  content: none;
}

.practice-service-card p {
  margin: 5px 0 0 !important;
  color: #526a79 !important;
  font-size: 0.82rem !important;
  line-height: 1.5 !important;
}

/* Office pages: team ----------------------------------------------------- */




.practice-doctor-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 17px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--practice-card-border);
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 9px 23px rgba(17, 49, 72, 0.065);
}

.practice-doctor-card__photo {
  width: 112px;
  height: 112px;
  overflow: hidden;
  border: 4px solid #ffffff;
  border-radius: 24px 14px 24px 14px;
  background: #dfe9ee;
  box-shadow: 0 7px 17px rgba(17, 49, 72, 0.12);
}

.practice-doctor-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.practice-doctor-card--beaird .practice-doctor-card__photo img {
  object-position: center 22%;
}

.practice-doctor-card--mitchell .practice-doctor-card__photo img {
  object-position: center 35%;
}

.practice-doctor-card--shaw .practice-doctor-card__photo img {
  object-position: center 18%;
}

.practice-doctor-card__eyebrow {
  margin: 0;
  color: var(--guide-green);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.practice-doctor-card h3 {
  margin: 5px 0 0;
  color: var(--guide-navy-deep);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.2;
}

.practice-doctor-card h3::after {
  content: none;
}

.practice-doctor-card p {
  margin: 8px 0 0 !important;
  color: #486171 !important;
  font-size: 0.82rem !important;
  line-height: 1.52 !important;
}

.practice-doctor-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--guide-navy);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration-color: #9fb4c1;
  text-underline-offset: 3px;
}

.practice-doctor-card a:hover {
  color: var(--guide-blue);
}




































/* Office pages: map and directions -------------------------------------- */
.practice-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(250px, 0.82fr);
  gap: 17px;
  margin-top: 23px;
}

.practice-map-frame {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cbdde7;
  border-radius: 18px;
  background: #e9f0f4;
  box-shadow: 0 10px 25px rgba(17, 49, 72, 0.075);
}

.practice-map-frame iframe {
  display: block;
  width: 100%;
  height: 410px;
  border: 0;
}

.practice-directions-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 20px;
  border: 1px solid #d6e5dc;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff 0%, var(--guide-green-soft) 100%);
}

.practice-directions-card__photo {
  height: 150px;
  margin: -7px -5px 18px;
  overflow: hidden;
  border: 1px solid #d3e2e8;
  border-radius: 13px;
  background: #e6edf1;
}

.practice-directions-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.practice-directions-card h3 {
  margin: 0;
  color: var(--guide-navy-deep);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  line-height: 1.2;
}

.practice-directions-card h3::after {
  content: none;
}

.practice-directions-card address {
  margin-top: 12px;
  color: #385365;
  font-size: 0.91rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.58;
}

.practice-directions-card p {
  margin: 12px 0 0 !important;
  color: #526a79 !important;
  font-size: 0.84rem !important;
  line-height: 1.55 !important;
}

.practice-map-actions {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding-top: 20px;
}

.practice-map-actions .practice-button {
  width: 100%;
}

/* Closing panel ---------------------------------------------------------- */
.practice-next-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: 37px;
  padding: 23px 24px;
  overflow: hidden;
  border: 1px solid #cbdfe7;
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 10%, rgba(79, 148, 104, 0.14), transparent 8rem),
    linear-gradient(145deg, #ffffff 0%, #edf6f9 100%);
}

.practice-next-step h2 {
  margin: 0;
  color: var(--guide-navy-deep);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.2;
}

.practice-next-step h2::after {
  content: none;
}

.practice-next-step p {
  max-width: 60ch;
  margin: 7px 0 0;
  color: #486171;
  font-size: 0.89rem;
  line-height: 1.58;
}

.practice-next-step .practice-actions {
  flex-wrap: nowrap;
  margin-top: 0;
}

/* Footer ---------------------------------------------------------------- */
body.practice-page-shell > footer {
  margin-top: 0;
  border-top: 4px solid var(--guide-green);
  background: linear-gradient(180deg, var(--nav-bg) 0%, #102c45 100%);
  color: #ffffff;
  box-shadow: 0 -8px 24px rgba(17, 49, 72, 0.08);
}

body.practice-page-shell > footer p {
  margin: 0;
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1120px) {
  .practice-resource-grid,
  .practice-value-grid {
    grid-template-columns: 1fr;
  }

  .practice-resource-card {
    min-height: 0;
  }

  

  

  
}

@media (max-width: 1050px) {
  .patient-guide .practice-hero {
    grid-template-columns: 1fr;
  }

  .practice-hero-media {
    min-height: 400px;
  }

  .practice-hero-media > img{
    min-height: 400px;
  }
}

@media (max-width: 900px) {
  .practice-layout {
    grid-template-columns: 1fr;
  }

  .practice-location-grid {
    grid-template-columns: 1fr;
  }

  .practice-location-card {
    grid-template-rows: 260px auto;
  }

  .practice-resource-grid,
  .practice-value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .practice-map-layout {
    grid-template-columns: 1fr;
  }

  .practice-directions-card__photo {
    height: 220px;
  }
}

@media (max-width: 760px) {
  .practice-highlights,
.practice-resource-grid,
.practice-value-grid{
    grid-template-columns: 1fr;
  }

  .practice-highlight {
    display: grid;
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
  }

  .practice-highlight span {
    margin-top: 0;
  }

  .practice-article-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  

  .practice-service-grid {
    grid-template-columns: 1fr;
  }

  

  

  .practice-next-step {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .practice-next-step .practice-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .practice-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .practice-button {
    width: 100%;
  }

  .practice-hero-media,
.practice-hero-media > img{
    min-height: 315px;
  }

  

  

  .practice-article {
    padding: 27px 18px;
  }

  .practice-location-card {
    grid-template-rows: 220px auto;
  }

  .practice-card-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .practice-card-link {
    width: 100%;
  }

  .practice-doctor-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 13px;
    padding: 15px;
  }

  .practice-doctor-card__photo {
    width: 88px;
    height: 88px;
    border-radius: 20px 12px 20px 12px;
  }

  

  .practice-map-frame iframe {
    height: 330px;
  }

  .practice-next-step {
    padding: 21px 18px;
  }
}

@media (max-width: 430px) {
  

  .practice-hero-media{
    min-height: 396px;
  }

  

  .practice-doctor-card {
    grid-template-columns: 1fr;
  }

  .practice-doctor-card__photo {
    width: 104px;
    height: 104px;
  }

  

  
}

@media (prefers-reduced-motion: reduce) {
  .practice-button,
  .practice-location-card,
  .practice-location-card__media img,
  .practice-card-link,
  .practice-resource-card,
  .practice-resource-card__arrow {
    transition: none;
  }
}

@media print {
  .practice-actions,
  .practice-hero-media,
  .practice-next-step,
  .practice-map-frame {
    display: none !important;
  }

  .practice-location-grid,
.practice-resource-grid,
.practice-value-grid,
.practice-service-grid{
    grid-template-columns: 1fr 1fr;
  }

  .practice-location-card,
.practice-resource-card,
.practice-doctor-card,
.practice-service-card{
    break-inside: avoid;
    box-shadow: none;
  }
}

/* -------------------------------------------------------------------------
 * Practice pages, layout revision
 * The home and location pages use a single, full-width reading column rather
 * than the guide-page table of contents. Team photography and live maps are
 * treated as primary page elements instead of secondary decoration.
 * ---------------------------------------------------------------------- */





.practice-pages-v2 .practice-article {
  padding: clamp(34px, 4.8vw, 62px);
}

/* Home hero: two large, deliberately composed team photographs. */
.practice-pages-v2 .practice-home-hero {
  grid-template-columns: minmax(0, 0.96fr) minmax(450px, 1.04fr);
}

.practice-pages-v2 .practice-hero-media--team-showcase {
  min-height: 470px;
  overflow: hidden;
  border-color: #c7dbe6;
  background:
    radial-gradient(circle at 16% 17%, rgba(47, 120, 183, 0.14), transparent 11rem),
    radial-gradient(circle at 86% 84%, rgba(79, 148, 104, 0.14), transparent 12rem),
    linear-gradient(145deg, #f8fbfd 0%, #eaf2f6 100%);
}

.practice-team-showcase {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 470px;
  box-sizing: border-box;
}

.practice-team-showcase__card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, 0.98);
  border-radius: 22px;
  background: #e6eef2;
  box-shadow: 0 20px 36px rgba(17, 49, 72, 0.20);
}

.practice-team-showcase__card--poplar {
  z-index: 1;
  top: 24px;
  left: 22px;
  width: 78%;
  height: 56%;
  transform: rotate(-1.2deg);
}

.practice-team-showcase__card--dexter {
  z-index: 2;
  right: 22px;
  bottom: 23px;
  width: 78%;
  height: 56%;
  transform: rotate(1.1deg);
}

.practice-team-showcase__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.practice-team-showcase__card--poplar img {
  object-position: center 48%;
}

.practice-team-showcase__card--dexter img {
  object-position: center 45%;
}

.practice-team-showcase__card figcaption {
  position: absolute;
  z-index: 2;
  right: 11px;
  bottom: 10px;
  left: 11px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 11px;
  background: rgba(16, 45, 67, 0.84);
  color: #ffffff;
  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  backdrop-filter: blur(7px);
}

/* Home location cards: office photography and an interactive Google map
   share the visual header so the map is available without leaving the page. */
.practice-pages-v2 .practice-location-card {
  grid-template-rows: auto 1fr;
}

.practice-location-card__visual {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-width: 0;
  height: 255px;
  background: #e8f0f4;
}

.practice-location-card__visual .practice-location-card__media {
  min-width: 0;
  height: 100%;
  border-right: 1px solid #cbdde7;
}

.practice-location-card__map {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #e7eef2;
}

.practice-location-card__map::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.54);
  pointer-events: none;
}

.practice-location-card__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Location heroes consistently introduce the physical office. */








/* Team sections: the group portrait is the section's anchor, with biographies
   arranged beneath it. This keeps the photography integral to the hierarchy. */


















/* The larger single-column article gives maps room to remain genuinely useful. */
.practice-pages-v2 .practice-map-layout {
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.58fr);
  gap: 20px;
}

.practice-pages-v2 .practice-map-frame iframe {
  height: 475px;
}

.practice-pages-v2 .practice-directions-card__photo {
  height: 185px;
}

@media (max-width: 1120px) {
  .practice-pages-v2 .practice-home-hero {
    grid-template-columns: 1fr;
  }

  .practice-pages-v2 .practice-hero-media--team-showcase,
  .practice-team-showcase {
    min-height: 560px;
  }

  .practice-team-showcase__card--poplar,
  .practice-team-showcase__card--dexter {
    width: 71%;
    height: 58%;
  }

  

  

  

  .practice-pages-v2 .practice-map-layout {
    grid-template-columns: 1fr;
  }

  .practice-pages-v2 .practice-directions-card__photo {
    height: 240px;
  }
}

@media (max-width: 900px) {
  

  .practice-pages-v2 .practice-location-grid {
    grid-template-columns: 1fr;
  }

  .practice-location-card__visual {
    height: 300px;
  }

  
}

@media (max-width: 700px) {
  .practice-pages-v2 .practice-article {
    padding: 28px 19px;
  }

  .practice-pages-v2 .practice-hero-media--team-showcase,
  .practice-team-showcase {
    min-height: 515px;
  }

  .practice-team-showcase__card--poplar,
  .practice-team-showcase__card--dexter {
    width: calc(100% - 34px);
    height: 48%;
  }

  .practice-team-showcase__card--poplar {
    top: 18px;
    left: 17px;
  }

  .practice-team-showcase__card--dexter {
    right: 17px;
    bottom: 18px;
  }

  .practice-location-card__visual {
    grid-template-columns: 1fr;
    grid-template-rows: 205px 265px;
    height: auto;
  }

  .practice-location-card__visual .practice-location-card__media {
    border-right: 0;
    border-bottom: 1px solid #cbdde7;
  }

  

  

  .practice-pages-v2 .practice-map-frame iframe {
    height: 380px;
  }
}

@media (max-width: 430px) {
  .practice-pages-v2 .practice-hero-media--team-showcase,
  .practice-team-showcase {
    min-height: 460px;
  }

  .practice-team-showcase__card--poplar,
  .practice-team-showcase__card--dexter {
    height: 46%;
    border-width: 5px;
    border-radius: 17px;
  }

  .practice-location-card__visual {
    grid-template-rows: 190px 250px;
  }
}

@media print {
  .practice-pages-v2 .practice-location-card__map,
  .practice-pages-v2 .practice-map-frame {
    display: none !important;
  }

  
}

/* -------------------------------------------------------------------------
 * Practice pages, navigation and team-card interaction
 * Restores the compact page index at the right of the main content while
 * retaining the wider photography, live maps and team-first composition.
 * ---------------------------------------------------------------------- */















/* The two team portraits act as a small interactive deck. The inactive card
   moves away from the overlap before the stacking order changes, creating a
   restrained card-shuffle motion rather than a simple z-index jump. */
.practice-pages-v3 .practice-team-showcase {
  --team-shuffle-x: clamp(20px, 3.1vw, 42px);
  --team-shuffle-y: clamp(28px, 3.6vw, 48px);
  isolation: isolate;
}

.practice-pages-v3 .practice-team-showcase__card {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  outline: none;
  will-change: transform, filter, box-shadow;
  transition:
    transform 640ms cubic-bezier(0.22, 0.78, 0.20, 1),
    filter 420ms ease,
    opacity 420ms ease,
    box-shadow 520ms ease,
    border-color 420ms ease,
    z-index 0s linear 285ms;
}

.practice-pages-v3 .practice-team-showcase__card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 15px;
  background: linear-gradient(180deg, transparent 58%, rgba(16, 45, 67, 0.12) 100%);
  pointer-events: none;
  transition: opacity 420ms ease;
}

.practice-pages-v3 .practice-team-showcase__card:hover {
  border-color: rgba(255, 255, 255, 1);
}

.practice-pages-v3 .practice-team-showcase__card:focus-visible {
  box-shadow:
    0 0 0 4px rgba(47, 120, 183, 0.34),
    0 22px 42px rgba(17, 49, 72, 0.22);
}

.practice-pages-v3 .practice-team-showcase__caption {
  position: absolute;
  z-index: 3;
  right: 11px;
  bottom: 10px;
  left: 11px;
  display: block;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 11px;
  background: rgba(16, 45, 67, 0.84);
  color: #ffffff;
  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  backdrop-filter: blur(7px);
}

.practice-pages-v3 .practice-team-showcase[data-active-team="dexter"]
  .practice-team-showcase__card--poplar {
  z-index: 1;
  transform: translate3d(-5px, -4px, 0) rotate(-1.35deg) scale(0.975);
  filter: saturate(0.82) brightness(0.965);
  opacity: 0.94;
  box-shadow: 0 14px 27px rgba(17, 49, 72, 0.14);
}

.practice-pages-v3 .practice-team-showcase[data-active-team="dexter"]
  .practice-team-showcase__card--dexter {
  z-index: 3;
  transform: translate3d(0, 0, 0) rotate(0.95deg) scale(1.012);
  filter: saturate(1) brightness(1);
  opacity: 1;
  box-shadow: 0 24px 43px rgba(17, 49, 72, 0.24);
}

.practice-pages-v3 .practice-team-showcase[data-active-team="poplar"]
  .practice-team-showcase__card--poplar {
  z-index: 3;
  transform: translate3d(var(--team-shuffle-x), var(--team-shuffle-y), 0)
    rotate(-0.28deg) scale(1.012);
  filter: saturate(1) brightness(1);
  opacity: 1;
  box-shadow: 0 24px 43px rgba(17, 49, 72, 0.24);
}

.practice-pages-v3 .practice-team-showcase[data-active-team="poplar"]
  .practice-team-showcase__card--dexter {
  z-index: 1;
  transform: translate3d(calc(-1 * var(--team-shuffle-x)), calc(-1 * var(--team-shuffle-y)), 0)
    rotate(0.3deg) scale(0.975);
  filter: saturate(0.82) brightness(0.965);
  opacity: 0.94;
  box-shadow: 0 14px 27px rgba(17, 49, 72, 0.14);
}

.practice-pages-v3 .practice-team-showcase[data-active-team="dexter"]
  .practice-team-showcase__card--poplar::after,
.practice-pages-v3 .practice-team-showcase[data-active-team="poplar"]
  .practice-team-showcase__card--dexter::after {
  opacity: 0.24;
}

.practice-pages-v3 .practice-team-showcase[data-active-team="dexter"]
  .practice-team-showcase__card--dexter::after,
.practice-pages-v3 .practice-team-showcase[data-active-team="poplar"]
  .practice-team-showcase__card--poplar::after {
  opacity: 0;
}



@media (max-width: 760px) {
  

  .practice-pages-v3 .practice-team-showcase {
    --team-shuffle-x: clamp(12px, 4vw, 22px);
    --team-shuffle-y: clamp(18px, 5vw, 28px);
  }
}



@media (prefers-reduced-motion: reduce) {
  .practice-pages-v3 .practice-team-showcase__card {
    transition: none;
  }
}



/* -------------------------------------------------------------------------
 * Practice pages, team-photo and doctor-section refinement
 * Poplar Bluff is the default foreground card in the home-page team deck.
 * Location heroes feature the full team, while the body section is reserved
 * for doctor profiles and links to the existing Meet the Staff page.
 * ---------------------------------------------------------------------- */

/* Home hero: swap the physical card positions and make Poplar Bluff the
   natural foreground state. */
.practice-pages-v4 .practice-team-showcase__card--dexter {
  top: 24px;
  right: auto;
  bottom: auto;
  left: 22px;
}

.practice-pages-v4 .practice-team-showcase__card--poplar {
  top: auto;
  right: 22px;
  bottom: 23px;
  left: auto;
}

.practice-pages-v4 .practice-team-showcase[data-active-team="poplar"]
  .practice-team-showcase__card--dexter {
  z-index: 1;
  transform: translate3d(-5px, -4px, 0) rotate(-1.35deg) scale(0.975);
  filter: saturate(0.82) brightness(0.965);
  opacity: 0.94;
  box-shadow: 0 14px 27px rgba(17, 49, 72, 0.14);
}

.practice-pages-v4 .practice-team-showcase[data-active-team="poplar"]
  .practice-team-showcase__card--poplar {
  z-index: 3;
  transform: translate3d(0, 0, 0) rotate(0.95deg) scale(1.012);
  filter: saturate(1) brightness(1);
  opacity: 1;
  box-shadow: 0 24px 43px rgba(17, 49, 72, 0.24);
}

.practice-pages-v4 .practice-team-showcase[data-active-team="dexter"]
  .practice-team-showcase__card--dexter {
  z-index: 3;
  transform: translate3d(var(--team-shuffle-x), var(--team-shuffle-y), 0)
    rotate(-0.28deg) scale(1.012);
  filter: saturate(1) brightness(1);
  opacity: 1;
  box-shadow: 0 24px 43px rgba(17, 49, 72, 0.24);
}

.practice-pages-v4 .practice-team-showcase[data-active-team="dexter"]
  .practice-team-showcase__card--poplar {
  z-index: 1;
  transform: translate3d(calc(-1 * var(--team-shuffle-x)), calc(-1 * var(--team-shuffle-y)), 0)
    rotate(0.3deg) scale(0.975);
  filter: saturate(0.82) brightness(0.965);
  opacity: 0.94;
  box-shadow: 0 14px 27px rgba(17, 49, 72, 0.14);
}

.practice-pages-v4 .practice-team-showcase[data-active-team="poplar"]
  .practice-team-showcase__card--dexter::after,
.practice-pages-v4 .practice-team-showcase[data-active-team="dexter"]
  .practice-team-showcase__card--poplar::after {
  opacity: 0.24;
}

.practice-pages-v4 .practice-team-showcase[data-active-team="poplar"]
  .practice-team-showcase__card--poplar::after,
.practice-pages-v4 .practice-team-showcase[data-active-team="dexter"]
  .practice-team-showcase__card--dexter::after {
  opacity: 0;
}

/* Location heroes: keep the entire 3:2 team photograph visible and make the
   Meet the Staff route an intentional part of the image composition. */
.practice-pages-v4 .practice-location-hero {
  grid-template-columns: minmax(0, 0.94fr) minmax(440px, 1.06fr);
}

.practice-pages-v4 .practice-hero-media--team {
  width: 100%;
  max-width: 760px;
  min-height: 0;
  aspect-ratio: 3 / 2;
  align-self: center;
  justify-self: center;
  isolation: isolate;
  background: #dfe9ee;
}

.practice-pages-v4 .practice-hero-media--team::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, rgba(10, 35, 54, 0) 0%, rgba(10, 35, 54, 0.38) 100%);
  pointer-events: none;
}

.practice-pages-v4 .practice-hero-media--team > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
}

.practice-pages-v4 .practice-hero-team-link {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  box-sizing: border-box;
  padding: 11px 18px 11px 20px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(16, 45, 67, 0.94);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(8, 31, 48, 0.28);
  backdrop-filter: blur(9px);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.practice-pages-v4 .practice-hero-team-link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.practice-pages-v4 .practice-hero-team-link:hover {
  transform: translateY(-3px);
  background: rgba(47, 120, 183, 0.97);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(8, 31, 48, 0.34);
}

.practice-pages-v4 .practice-hero-team-link:hover svg {
  transform: translateX(3px);
}

.practice-pages-v4 .practice-hero-team-link:focus-visible {
  outline: 4px solid rgba(255, 255, 255, 0.94);
  outline-offset: 3px;
}

/* Doctor-only sections on the location pages. */
.practice-pages-v4 .practice-doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.practice-pages-v4 .practice-doctors-grid--single {
  grid-template-columns: minmax(0, 790px);
  justify-content: start;
}

.practice-pages-v4 .practice-doctors-grid .practice-doctor-card {
  position: relative;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 19px;
  min-height: 190px;
  box-sizing: border-box;
  overflow: hidden;
  padding: 23px;
  border-color: #cbdde7;
  border-radius: 21px;
  background:
    radial-gradient(circle at 94% 10%, rgba(79, 148, 104, 0.12), transparent 9rem),
    linear-gradient(145deg, #ffffff 0%, #f4f8fa 100%);
  box-shadow: 0 12px 28px rgba(17, 49, 72, 0.085);
}

.practice-pages-v4 .practice-doctors-grid .practice-doctor-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--guide-blue) 0 72%, var(--guide-green) 72% 100%);
}

.practice-pages-v4 .practice-doctors-grid .practice-doctor-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -58px;
  bottom: -82px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(79, 148, 104, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.practice-pages-v4 .practice-doctors-grid .practice-doctor-card__photo {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  border-radius: 27px 16px 27px 16px;
}

.practice-pages-v4 .practice-doctors-grid .practice-doctor-card > div:last-child {
  position: relative;
  z-index: 1;
}

.practice-pages-v4 .practice-doctors-grid .practice-doctor-card h3 {
  font-size: clamp(1.18rem, 1.55vw, 1.38rem);
}

.practice-pages-v4 .practice-doctors-grid .practice-doctor-card p:not(.practice-doctor-card__eyebrow) {
  font-size: 0.86rem !important;
  line-height: 1.58 !important;
}

.practice-pages-v4 .practice-doctors-grid .practice-doctor-card a {
  margin-top: 12px;
  font-size: 0.79rem;
}

@media (max-width: 1050px) {
  .practice-pages-v4 .practice-location-hero {
    grid-template-columns: 1fr;
  }

  .practice-pages-v4 .practice-hero-media--team {
    width: min(100%, 760px);
  }
}

@media (max-width: 900px) {
  .practice-pages-v4 .practice-doctors-grid,
  .practice-pages-v4 .practice-doctors-grid--single {
    grid-template-columns: 1fr;
  }

  .practice-pages-v4 .practice-doctors-grid--single .practice-doctor-card {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .practice-pages-v4 .practice-team-showcase__card--dexter {
    top: 18px;
    right: auto;
    bottom: auto;
    left: 17px;
  }

  .practice-pages-v4 .practice-team-showcase__card--poplar {
    top: auto;
    right: 17px;
    bottom: 18px;
    left: auto;
  }
}

@media (max-width: 620px) {
  .practice-pages-v4 .practice-hero-team-link {
    right: 14px;
    bottom: 14px;
    min-height: 45px;
    padding: 10px 16px 10px 18px;
    font-size: 0.83rem;
  }

  .practice-pages-v4 .practice-doctors-grid .practice-doctor-card {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 15px;
    min-height: 0;
    padding: 18px;
  }

  .practice-pages-v4 .practice-doctors-grid .practice-doctor-card__photo {
    width: 100px;
    height: 100px;
    border-radius: 22px 13px 22px 13px;
  }
}

@media (max-width: 430px) {
  .practice-pages-v4 .practice-hero-team-link {
    right: 12px;
    bottom: 12px;
  }

  .practice-pages-v4 .practice-doctors-grid .practice-doctor-card {
    grid-template-columns: 1fr;
  }

  .practice-pages-v4 .practice-doctors-grid .practice-doctor-card__photo {
    width: 112px;
    height: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .practice-pages-v4 .practice-hero-team-link,
  .practice-pages-v4 .practice-hero-team-link svg {
    transition: none;
  }
}

/* Give the two-doctor Dexter layout more breathing room at desktop widths;
   when the cards stack, they return to the wider horizontal composition. */
.practice-pages-v4 .practice-doctors-grid--multiple .practice-doctor-card {
  grid-template-columns: 1fr;
  align-content: start;
  align-items: start;
  min-height: 0;
}

.practice-pages-v4 .practice-doctors-grid--multiple .practice-doctor-card__photo {
  width: 116px;
  height: 116px;
}

@media (max-width: 900px) {
  .practice-pages-v4 .practice-doctors-grid--multiple .practice-doctor-card {
    grid-template-columns: 132px minmax(0, 1fr);
    align-content: initial;
    align-items: center;
  }

  .practice-pages-v4 .practice-doctors-grid--multiple .practice-doctor-card__photo {
    width: 132px;
    height: 132px;
  }
}

@media (max-width: 620px) {
  .practice-pages-v4 .practice-doctors-grid--multiple .practice-doctor-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .practice-pages-v4 .practice-doctors-grid--multiple .practice-doctor-card__photo {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 430px) {
  .practice-pages-v4 .practice-doctors-grid--multiple .practice-doctor-card {
    grid-template-columns: 1fr;
  }

  .practice-pages-v4 .practice-doctors-grid--multiple .practice-doctor-card__photo {
    width: 112px;
    height: 112px;
  }
}

/* -------------------------------------------------------------------------
 * Final page refinements
 * ---------------------------------------------------------------------- */
.practice-article-header {
  grid-template-columns: minmax(0, 1fr);
}

/* Home-page cards no longer reserve a row for decorative sequence numbers. */
.practice-resource-card {
  grid-template-rows: auto 1fr auto;
}

.practice-resource-card h3,
.practice-value-card h3 {
  margin-top: 0;
}



/* The paired calls to action at the bottom of the home and location pages
   share one clear green treatment. The stronger selector intentionally wins
   over the article's general inline-link color. */
body.practice-page-shell .practice-next-step .practice-button,
body.practice-page-shell .practice-next-step .practice-button--primary,
body.practice-page-shell .practice-next-step .practice-button--secondary {
  border-color: #3f7b58;
  background: #3f7b58;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(48, 100, 69, 0.20);
}

body.practice-page-shell .practice-next-step .practice-button:hover,
body.practice-page-shell .practice-next-step .practice-button--primary:hover,
body.practice-page-shell .practice-next-step .practice-button--secondary:hover {
  border-color: #326747;
  background: #326747;
  color: #ffffff !important;
  box-shadow: 0 11px 25px rgba(48, 100, 69, 0.27);
}



/* -------------------------------------------------------------------------
 * Mobile review refinements
 * Remove the duplicate right-side contents panel, simplify the location-page
 * body, and improve the top-of-page contact facts at every viewport width.
 * ---------------------------------------------------------------------- */
.practice-layout.guide-layout--no-toc {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "article";
  gap: 0;
  width: min(100%, 1120px);
  margin-right: auto;
  margin-left: auto;
}

.practice-location-page .practice-article > .practice-section:first-child {
  margin-top: 0;
  padding-top: 0;
}

.practice-location-page .practice-highlights {
  grid-template-columns: minmax(190px, 1.2fr) minmax(138px, 0.8fr) minmax(178px, 1fr);
  gap: 12px;
  max-width: 760px;
}

.practice-location-page .practice-highlight {
  padding: 13px 15px 12px;
}

.practice-location-page .practice-highlight strong {
  font-size: clamp(0.92rem, 1.08vw, 1rem);
  line-height: 1.24;
  letter-spacing: -0.005em;
}

.practice-location-page .practice-highlight span {
  margin-top: 4px;
  font-size: 0.74rem;
  line-height: 1.34;
}

.practice-highlight--address strong,
.practice-highlight--phone strong,
.practice-highlight__phone-link {
  white-space: nowrap;
}

.practice-highlight__phone-link {
  color: inherit;
  text-decoration: none;
}

.practice-highlight__phone-link:hover {
  color: var(--guide-blue);
}

.practice-highlight__phone-link:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(47, 120, 183, 0.3);
  outline-offset: 3px;
}

/* Seven service cards form three pairs, followed by a deliberate full-width
   urgent-care card. */
.practice-location-page .practice-service-grid .practice-service-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.practice-location-page .practice-service-grid .practice-service-card:last-child:nth-child(odd) > div {
  max-width: 76ch;
}

@media (max-width: 760px) {
  .practice-location-page .practice-highlights {
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: none;
  }

  .practice-location-page .practice-highlight {
    display: grid;
    grid-template-columns: minmax(118px, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
  }

  .practice-location-page .practice-highlight strong {
    font-size: 0.91rem;
    line-height: 1.25;
  }

  .practice-location-page .practice-highlight span {
    margin-top: 0;
    font-size: 0.71rem;
    line-height: 1.3;
    text-align: right;
  }
}

@media (max-width: 360px) {
  .practice-location-page .practice-highlight {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .practice-location-page .practice-highlight span {
    text-align: left;
  }
}

/* Home team-directory link */
.practice-pages-v4 .practice-team-showcase__directory-link {
  position: absolute;
  z-index: 8;
  top: 15px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  box-sizing: border-box;
  padding: 9px 14px 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(16, 45, 67, 0.88);
  color: #ffffff;
  font-size: 0.79rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(17,49,72,0.18);
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.practice-pages-v4 .practice-team-showcase__directory-link svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.practice-pages-v4 .practice-team-showcase__directory-link:hover {
  background: rgba(47, 120, 183, 0.94);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 11px 24px rgba(17,49,72,0.23);
}

.practice-pages-v4 .practice-team-showcase__directory-link:hover svg {
  transform: translateX(2px);
}

.practice-pages-v4 .practice-team-showcase__directory-link:focus-visible {
  outline: 3px solid rgba(47,120,183,0.36);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .practice-pages-v4 .practice-team-showcase__directory-link {
    top: 12px;
    right: 12px;
    min-height: 39px;
    padding: 8px 12px 8px 14px;
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .practice-pages-v4 .practice-team-showcase__directory-link,
  .practice-pages-v4 .practice-team-showcase__directory-link svg {
    transition: none;
  }
}

/* Medium-green primary actions remain prominent without the visual weight of
   the previous navy treatment. */
.practice-location-card .practice-card-link--primary,
.practice-map-actions .practice-button--primary {
  border-color: #3e825b;
  background: #3e825b;
  color: #ffffff !important;
  box-shadow: 0 7px 18px rgba(48, 100, 69, 0.18);
}

.practice-location-card .practice-card-link--primary:hover,
.practice-map-actions .practice-button--primary:hover {
  border-color: #326b49;
  background: #326b49;
  color: #ffffff !important;
  box-shadow: 0 10px 23px rgba(48, 100, 69, 0.25);
}

