/* A warm, photographic counterpart to the neighboring website price card. */
.services-independent .nursery-service-card {
  padding:0;
  overflow:hidden;
  color:#fff;
  background:#124f55;
  border-color:#124f55;
}
.nursery-service-card .nursery-service-copy {padding:32px 32px 26px;}
.nursery-service-card .solution-meta {color:#c8e6e6;flex-wrap:wrap;gap:10px 14px;}
.nursery-service-card .solution-meta > span:first-child {color:#ffc15a;border-color:#6b989b;}
.nursery-service-card h2 {font-size:clamp(1.5rem,2.2vw,2rem);line-height:1.65;color:#fff;}
.nursery-service-card .solution-summary {color:#e0efed;margin-top:10px;}
.nursery-service-visual {position:relative;flex:1;min-height:clamp(200px,17vw,245px);overflow:hidden;background:#e7d4ad;}
/* The source composite contains the room at x=0..641 and an old Japanese text
   panel after that. Display only x=0..640, without altering the source file.
   cover + left alignment can only narrow this range on taller card layouts. */
.nursery-service-visual img {position:absolute;inset:0 auto 0 0;width:160%;max-width:none;height:100%;object-fit:cover;object-position:left bottom;}
.nursery-service-name {position:absolute;left:24px;bottom:20px;max-width:calc(100% - 48px);padding:9px 16px;border-radius:6px;background:#fff;color:#123e45;font-size:1rem;line-height:1.65;font-weight:700;overflow-wrap:anywhere;box-shadow:0 3px 14px #17383318;}
.nursery-service-card .solution-action {margin:0;padding:22px 32px;justify-content:space-between;align-items:center;gap:18px;color:#fff;}
.nursery-service-action-label {font-size:1rem;line-height:1.75;font-weight:600;overflow-wrap:anywhere;}
.nursery-service-card .solution-arrow {color:#123e45;background:#ffc15a;border-color:#ffc15a;}
.services-independent .nursery-service-card:hover {background:#124f55;border-color:#21747b;}
.nursery-service-card:hover .solution-arrow {color:#123e45;background:#ffd084;border-color:#ffd084;}
.nursery-service-card:focus-visible {outline:3px solid #ffc15a;outline-offset:-5px;}
@media(max-width:700px) {
  .nursery-service-card .nursery-service-copy {padding:26px 24px 24px;}
  .nursery-service-card .solution-action {padding:20px 24px;}
  .nursery-service-visual {min-height:215px;}
}
@media(max-width:360px) {
  .nursery-service-card .nursery-service-copy {padding:24px 20px;}
  .nursery-service-card .solution-action {padding:20px;}
  .nursery-service-name {left:20px;max-width:calc(100% - 40px);padding:8px 12px;}
}
@media print {
  .services-independent .nursery-service-card {background:#fff;color:#123e45;border-color:#b6caca;}
  .nursery-service-card :is(h2,.solution-summary,.solution-meta,.solution-action) {color:#123e45;}
  .nursery-service-card .solution-meta > span:first-child {color:#123e45;}
}
