/* Only the nine requested areas. Existing photo frame, title, timing and clinical copy are retained. */
:root {
  --pastel-ink: #365948;
  --pastel-nav: #c3dfcf;
  --pastel-header: #f0f7f2;
  --pastel-line: #d6e5da;
}

.shared-header {
  background: var(--pastel-header);
}

.hero-navigation {
  background: var(--pastel-nav);
}

.hero-navigation .radial-choice, .hero-navigation .reference-home {
  color: #2e5843;
}

.hero-navigation .radial-choice:hover, .hero-navigation .reference-home:hover {
  background: #afd2bd;
}

/* Full waiting-room photograph, with natural aspect ratio instead of portrait cropping. */
.reference-message-grid {
  grid-template-columns: 38% 57%;
  min-height: 0;
  align-items: center;
}

@media (min-width: 1025px) {
  .reference-message-grid {
    align-items: start;
  }
}

.reference-message-grid .about-photo {
  width: 100%;
  margin: 0;
}

.reference-message-grid .about-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 18px;
}

.reference-message-copy .early-info {
  justify-content: flex-start;
}

.reference-message-copy .early-banner {
  flex: 1 1 324px;
  width: auto !important;
  max-width: 352px !important;
  border-radius: 16px;
  background: #fafcf9 !important;
}

.reference-message-copy .early-banner .guide-figure {
  display: grid;
  place-items: center;
}

.reference-message-copy .early-banner svg {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reference-message-copy .early-banner:hover {
  background: #edf5ef !important;
}

/* Center the news reading column. */
.reference-news .reference-wrapper {
  width: 860px;
  max-width: 90%;
}

/* Fever advice is a compact reading notice, not a large photo-led feature. */
.reference-feature {
  padding-block: 32px;
  margin-bottom: 48px;
  background: #f7f9f4;
}

.reference-feature > .reference-wrapper {
  width: 860px;
  max-width: 90%;
}

.reference-feature-grid {
  display: block;
}

.reference-feature .card-heading {
  border-left: 0;
  padding: 0;
  margin-bottom: 14px;
}

.reference-feature .card-heading h2 {
  font-size: 20px;
  line-height: 1.65;
}

.reference-feature .info-card {
  margin-bottom: 28px;
}

.reference-feature .info-card:last-child {
  margin-bottom: 0;
}

.reference-feature p {
  margin-bottom: 8px;
  line-height: 1.85;
}

.reference-feature h3 {
  font-size: 16px;
  line-height: 1.85;
  margin: 12px 0 6px;
}

.reference-feature .fever-flow {
  margin-top: 14px;
}

.reference-feature #insurance {
  padding-top: 24px;
  border-top: 1px solid var(--pastel-line);
}

/* Elliptical specialty actions, retaining natural height for long names. */
.medical-intro-links a {
  border-radius: 999px;
  padding-inline: 22px;
  background: #fff;
}

/* Photo pickup: reference to Riverside's grouping, independently laid out. */
#pickup {
  margin-bottom: 64px;
}

.pickup-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 24px;
}

#pickup [data-pickup-card] {
  flex: 0 1 calc((100% - 24px) / 2);
  width: calc((100% - 24px) / 2);
  max-width: 560px;
  min-width: 0;
}

.pickup-panel {
  display: grid;
  grid-template-columns: 36% minmax(0, 1fr);
  gap: 18px;
  height: 100%;
  padding: 20px;
  border: 2px solid #d6e8dc;
  border-radius: 22px;
  background: #fbfdf9;
}

[data-pickup-card]:nth-child(2n) .pickup-panel {
  border-color: #e8dfd7;
  background: #fffdf9;
}

.pickup-picture {
  margin: 0;
  align-self: start;
}

.pickup-picture img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f1f5f1;
  border-radius: 13px;
}

.pickup-reading {
  min-width: 0;
}

.pickup-eyebrow {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: #5c8371;
  letter-spacing: .08em;
  margin-bottom: 7px;
}

.pickup-reading h3 {
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
  font-weight: 600;
}

.pickup-reading p {
  font-size: 14px;
  line-height: 1.8;
  margin: 8px 0 0;
}

.pickup-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.pickup-actions a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 9px 20px;
  border-radius: 999px;
  background: #dcece2;
  color: #315b47;
  font-size: 14px;
}

.pickup-actions a:hover {
  background: #c9dfd0;
}

.pickup-controls button {
  border-radius: 50%;
}

/* Real service guides restored to the original place, independently of pickup. */
.service-guides {
  margin: 0 auto 64px;
}

.service-guide-cards.early-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  width: 100% !important;
  margin: 0 !important;
}

.service-card {
  flex: 0 1 calc((100% - 48px) / 4);
  width: calc((100% - 48px) / 4);
  max-width: 276px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 18px;
  border: 1px solid #dce9df;
  border-radius: 22px;
  background: #f3f8f3;
  text-align: center;
  transition: background-color 180ms ease;
}

.service-card:nth-child(2) {
  background: #f7f3fa;
  border-color: #e7dfed;
}

.service-card:nth-child(3) {
  background: #f0f7fa;
  border-color: #dbe7ed;
}

.service-card:nth-child(4) {
  background: #fcf8ef;
  border-color: #eee5d4;
}

.service-card:hover {
  background: #e6f0e7;
}

.service-card:nth-child(2):hover {
  background: #eee7f4;
}

.service-card:nth-child(3):hover {
  background: #e3eff5;
}

.service-card:nth-child(4):hover {
  background: #f6efdf;
}

.service-figure {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #ffffffa8;
}

.service-figure svg {
  width: 72px;
  height: 72px;
}

.service-caption {
  min-width: 0;
  width: 100%;
}

.service-micro {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 4px;
}

.service-name {
  display: block;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 600;
}

.service-subtitle {
  display: block;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
}

.service-support {
  display: block;
  margin-top: 8px;
  color: #A15B5B;
  font-size: 14px;
  line-height: 1.7;
}

.service-action {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 5px;
  color: #4b735e;
}

/* Light footer, with readable dark text instead of reversed white text. */
.atsumi-footer {
  background: #edf5ef;
  color: #365648;
}

.atsumi-footer #access, .atsumi-footer .footer-names, .atsumi-footer .footer-links, .atsumi-footer .reference-copyright {
  color: #365648;
}

.atsumi-footer #access .contact-phone, .atsumi-footer #access .contact-phone svg, .atsumi-footer #access > .pill {
  color: #365648;
}

.atsumi-footer .footer-links a {
  border-color: #c9dbce;
}

.atsumi-footer .footer-links a:hover {
  color: #244d39;
  background: #e2eee5;
}

.map-shell {
  background: #fafcf9;
  border-color: #cbded0;
}

@media (max-width: 1024px) {
  .service-card {
    flex-basis: calc((100% - 16px) / 2);
    width: calc((100% - 16px) / 2);
  }

  .reference-message-grid .about-photo {
    width: min(600px, 100%);
    margin-inline: auto;
  }

}

@media (max-width: 720px) {
  #pickup [data-pickup-card] {
    width: min(340px, 100%);
    max-width: 340px;
    flex-basis: 340px;
  }

  .pickup-panel {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
  }

  .pickup-reading h3 {
    font-size: 16px;
  }

  .pickup-reading p {
    font-size: 14px;
  }

  .service-guide-cards.early-info {
    gap: 16px;
  }

  .service-card {
    flex-basis: calc((100% - 16px) / 2);
    width: calc((100% - 16px) / 2);
    max-width: 172px;
    padding: 18px 12px;
    border-radius: 18px;
  }

  .service-figure {
    width: 68px;
    height: 68px;
    margin-bottom: 12px;
  }

  .service-figure svg {
    width: 58px;
    height: 58px;
  }

  .service-name {
    font-size: 15px;
  }

  .service-subtitle, .service-support {
    font-size: 13px;
  }

}

@media (max-width: 640px) {
  .reference-message-grid .about-photo {
    width: 100%;
  }

  .reference-message-copy .early-banner {
    flex-basis: auto;
  }

  .reference-news .reference-wrapper, .reference-feature > .reference-wrapper {
    max-width: 92%;
  }

  .reference-feature .card-heading h2 {
    font-size: 19px;
  }

  .reference-feature .info-card, .reference-feature p, .reference-feature h3 {
    font-size: 15px;
  }

  .medical-intro-links a {
    padding-inline: 16px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .service-card {
    transition: none;
  }

}

/* Keep the established title/support adjacency when the two intro guides share a row. */
.reference-message-copy .early-banner {
  padding-inline: 7px;
}

.service-token {
  display: inline-block;
}

/* Keep dark, readable symbols on the pastel compact-menu surface as well. */
.mobile-menu-button { background: var(--pastel-nav) !important; color: #2e5843; }
.mobile-menu-button .common-menu-icon,
.mobile-menu-button .common-menu-icon::before,
.mobile-menu-button .common-menu-icon::after { background: #2e5843; }
.font-tools button,
.reference-mobile-fonts .font-tools button { background: #e8f3eb; color: #2e5843; }
.font-tools button:hover,
.font-tools button[aria-pressed='true'] { background: var(--pastel-nav); color: #2e5843; }
@media (min-width: 641px) and (max-width: 1024px) {
  .mobile-menu-button .common-menu-icon { box-shadow: 0 -8px #2e5843, 0 8px #2e5843; }
}
@media (max-width: 640px) {
  .mobile-menu-button .common-menu-icon { box-shadow: none; }
}
/* On phones the description uses the full card width, as observed in the stored Riverside layout. */
@media (max-width: 720px) {
  .pickup-panel { gap: 10px 14px; }
  .pickup-picture { grid-column: 1; grid-row: 1 / 3; }
  .pickup-reading { display: contents; }
  .pickup-eyebrow { grid-column: 2; align-self: end; margin-bottom: 0; }
  .pickup-reading h3 { grid-column: 2; align-self: start; }
  .pickup-reading p { grid-column: 1 / -1; margin: 0; }
}
