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

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

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

.hero-navigation .radial-choice, .hero-navigation .reference-home {
  color: var(--fc-36a2a119bf1f,#2e5843);
}

.hero-navigation .radial-choice:hover, .hero-navigation .reference-home:hover {
  background: var(--fc-cba66682a22b,#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: 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: var(--fc-a7e84d965f8c,#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: var(--fc-86c7fe5ac5cf,#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: var(--fc-7ff714afd369,#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 var(--fc-a656f344f4f8,#d6e8dc);
  border-radius: 22px;
  background: var(--fc-6f1c30ce0648,#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: var(--fc-001dd78ed805,#f1f5f1);
  border-radius: 13px;
}

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

.pickup-eyebrow {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--fc-718ce3272d91,#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: var(--fc-e985a15c8089,#dcece2);
  color: var(--fc-e1f3cea8416c,#315b47);
  font-size: 14px;
}

.pickup-actions a:hover {
  background: var(--fc-41f45f0e31e1,#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 var(--fc-8619c17a4a30,#dce9df);
  border-radius: 22px;
  background: var(--fc-3331bf58296b,#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: var(--fc-6a1fc908db87,#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: var(--fc-539b0b4d5eb6,#4b735e);
}

/* Light footer, with readable dark text instead of reversed white text. */
.atsumi-footer {
  background: var(--fc-86c7fe5ac5cf,#edf5ef);
  color: var(--fc-0742f8303793,#365648);
}

.atsumi-footer #access, .atsumi-footer .footer-names, .atsumi-footer .footer-links, .atsumi-footer .reference-copyright {
  color: var(--fc-0742f8303793,#365648);
}

.atsumi-footer #access .contact-phone, .atsumi-footer #access .contact-phone svg, .atsumi-footer #access > .pill {
  color: var(--fc-0742f8303793,#365648);
}

.atsumi-footer .footer-links a {
  border-color: var(--fc-6b28610be39b,#c9dbce);
}

.atsumi-footer .footer-links a:hover {
  color: var(--fc-a1ff4cdc181a,#244d39);
  background: var(--fc-8743d15cc822,#e2eee5);
}

.map-shell {
  background: var(--fc-a7e84d965f8c,#fafcf9);
  border-color: var(--fc-3960fb00f6d6,#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: var(--fc-36a2a119bf1f,#2e5843); }
.mobile-menu-button .common-menu-icon,
.mobile-menu-button .common-menu-icon::before,
.mobile-menu-button .common-menu-icon::after { background: var(--fc-36a2a119bf1f,#2e5843); }
.font-tools button,
.reference-mobile-fonts .font-tools button { background: var(--fc-ac104b822fcd,#e8f3eb); color: var(--fc-36a2a119bf1f,#2e5843); }
.font-tools button:hover,
.font-tools button[aria-pressed='true'] { background: var(--pastel-nav); color: var(--fc-36a2a119bf1f,#2e5843); }
@media (min-width: 641px) and (max-width: 1024px) {
  .mobile-menu-button .common-menu-icon { box-shadow: 0 -8px var(--fc-36a2a119bf1f,#2e5843), 0 8px var(--fc-36a2a119bf1f,#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; }
}
