/* Service cards only. Shared grid tracks keep each row aligned across languages. */
body.portal-home .monlam-photo-services__grid {
  gap: 0 clamp(24px, 3vw, 44px);
  isolation: isolate;
}
body.portal-home .monlam-photo-service {
  display: grid;
  grid-template-rows: auto minmax(6.6em, auto) auto auto 1fr auto;
  align-content: start;
  margin-bottom: 64px;
  transition: opacity 380ms cubic-bezier(.22,.61,.36,1), transform 380ms cubic-bezier(.22,.61,.36,1);
}
@supports (grid-template-rows: subgrid) {
  body.portal-home .monlam-photo-service {
    grid-row: span 6;
    grid-template-rows: subgrid;
  }
}
body.portal-home .monlam-photo-service__category {
  padding-top: 20px;
  border-top-color: rgba(245,244,239,.3);
  color: #f5f4ef;
  font-family: Manrope, sans-serif;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: .13em;
}
body.portal-home .monlam-photo-service__title {
  margin: 16px 0 25px;
  color: #f5f4ef;
  font-size: clamp(23px, 2vw, 29px);
  line-height: 1.32;
  letter-spacing: -.02em;
  text-wrap: pretty;
}
body.portal-home .monlam-photo-service__select {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit !important;
  text-align: left;
  letter-spacing: inherit;
  line-height: inherit;
  cursor: pointer;
}
body.portal-home .monlam-photo-service__select:focus-visible {
  outline: 2px solid #f5f4ef;
  outline-offset: 7px;
}
body.portal-home .monlam-photo-service__visual {
  overflow: hidden;
  aspect-ratio: 1;
  align-self: start;
}
body.portal-home .monlam-photo-service__image {
  transition: filter 380ms cubic-bezier(.22,.61,.36,1), transform 380ms cubic-bezier(.22,.61,.36,1);
  transform: scale(1);
}
body.portal-home .monlam-photo-service__reflection {
  min-height: 0;
  margin: 22px 0 26px;
  font-style: italic;
  font-size: 16px;
  line-height: 1.8;
}
body.portal-home .monlam-photo-service__description {
  align-self: start;
  margin-bottom: 20px;
  font-family: Manrope, sans-serif;
}
body.portal-home .monlam-photo-service__link { justify-self: start; align-self: end; }
body.portal-home .monlam-photo-services__grid[data-focus-card] .monlam-photo-service:not(.is-focused) { opacity: .86; }
body.portal-home .monlam-photo-services__grid[data-focus-card] .monlam-photo-service:not(.is-focused) .monlam-photo-service__image { filter: blur(1.5px); }
body.portal-home .monlam-photo-service.is-focused { transform: translateY(-3px); }
body.portal-home .monlam-photo-service.is-focused .monlam-photo-service__image { transform: scale(1.025); }
body.portal-home .monlam-photo-service.is-selected .monlam-photo-service__category { border-top-color: #f5f4ef; }
body.portal-home .monlam-photo-services__catalogue { margin-top: 0; }
@media (max-width: 760px) {
  body.portal-home .monlam-photo-service { display: flex; flex-direction: column; margin-bottom: 52px; }
  body.portal-home .monlam-photo-service__title { font-size: clamp(24px, 6.5vw, 29px); margin-bottom: 24px; }
  body.portal-home .monlam-photo-service__link { align-self: flex-start; }
  body.portal-home .monlam-photo-service.is-focused { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.portal-home .monlam-photo-service,
  body.portal-home .monlam-photo-service__image { transition: none; transform: none !important; }
}
