.service-menu .service-choice[data-card-photo] {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line, #cfdbdc);
  border-radius: 5px;
  background: var(--paper, white);
  color: var(--ink, #132d37);
  text-align: start;
  text-decoration: none;
}

.service-choice[data-card-photo]::before,
.service-choice[data-card-photo]::after {
  content: none;
}

.service-choice[data-card-photo] > .service-card-photo {
  display: block;
  flex: none;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 327;
  object-fit: cover;
  background: #e8eeee;
}

.service-photo-caption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  align-items: start;
  gap: .25rem .5rem;
  padding: .78rem .85rem .84rem;
}

.service-photo-caption > .service-icon {
  position: static;
  grid-column: 1;
  grid-row: 1;
  width: 1.1rem;
  height: 1.1rem;
  margin-block-start: .1rem;
  color: var(--teal, #09565b);
}

.service-photo-caption > strong {
  grid-column: 2;
  grid-row: 1;
  font-size: 1rem;
  line-height: 1.3;
}

.service-photo-caption > strong > span {
  color: inherit;
  font: inherit;
}

.service-photo-caption > strong > .service-title-full { display: inline; }
.service-photo-caption > strong > .service-title-short { display: none; }

.service-photo-caption > span {
  grid-column: 2;
  grid-row: 2;
  color: var(--muted, #4c626b);
  font-size: .875rem;
  line-height: 1.4;
}

.service-photo-caption:not(:has(.service-icon)) > * { grid-column: 1 / -1; }

.service-menu .service-choice[data-card-photo]:is(:hover, :focus-visible) {
  border-color: var(--teal, #09565b);
  background: var(--soft, #f2f7f7);
}

.service-menu .service-choice[data-card-photo]:focus-visible {
  outline: 3px solid #087c89;
  outline-offset: 3px;
}

@media (max-width: 54rem) {
  .service-menu:has([data-card-photo]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 40rem) {
  .service-choice[data-card-photo] > .service-card-photo {
    aspect-ratio: 2.45;
    max-height: 5.25rem;
  }
  .service-photo-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 2.5rem;
    padding: .5rem;
  }
  .service-photo-caption > .service-icon {
    flex: none;
    width: 1rem;
    height: 1rem;
    margin: 0;
  }
  .service-photo-caption > strong { font-size: .94rem; text-align: center; }
  .service-photo-caption > strong:has(.service-title-short) > .service-title-full,
  .service-photo-caption > span { display: none; }
  .service-photo-caption > strong > .service-title-short { display: inline; }
}
