/* Services directory: concept 02 mint background + concept 12 editorial layout.
   Scoped to the approved laptop/desktop breakpoint; mobile and tablet retain
   their existing linked service cards. */
@media (min-width: 1024px) and (max-width: 1439.98px) and (hover: hover) and (pointer: fine),
       (min-width: 1440px) {
  .ls-services-directory-grid .ls-services-editorial-card {
    position: relative;
    isolation: isolate;
    display: flex;
    min-width: 0;
    min-height: 188px;
    overflow: hidden;
    flex-direction: column;
    padding: 17px 19px 16px;
    border: 1px solid #cce8d4;
    border-radius: 20px;
    background: linear-gradient(135deg,#f0fbf4 0%,#dcf4e5 100%);
    color: #17392a;
    text-align: left;
    text-decoration: none;
  }
  .ls-services-editorial-card::before {
    position: absolute;
    z-index: -1;
    top: -38px;
    right: -40px;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: rgba(137,215,166,.19);
    content: '';
    pointer-events: none;
  }
  .ls-services-editorial-card__head,
  .ls-services-editorial-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .ls-services-editorial-card__eyebrow {
    min-width: 0;
    color: #357950;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.35;
  }
  .ls-services-editorial-card__icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(68,145,92,.12);
    border-radius: 13px;
    background: rgba(255,255,255,.83);
    color: #247b4b;
  }
  .ls-services-editorial-card__title {
    display: -webkit-box;
    min-height: 0;
    max-width: 100%;
    margin: 13px 0 10px;
    overflow: hidden;
    flex: 1 1 auto;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #183e2d;
    font-size: clamp(16px,1.3vw,21px);
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .ls-services-editorial-card__foot {
    min-height: 28px;
    flex: 0 0 auto;
    padding-top: 8px;
    border-top: 1px solid rgba(67,151,92,.29);
    color: #366f4a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
  }
  .ls-services-editorial-card--live {
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }
  .ls-services-editorial-card--live:hover {
    transform: translateY(-3px);
    border-color: #8ed5a6;
    box-shadow: 0 12px 26px rgba(17,89,51,.12);
  }
  .ls-services-editorial-card--live:focus-visible {
    outline: 3px solid #16834f;
    outline-offset: 3px;
  }
  .ls-services-editorial-card--soon {
    cursor: default;
  }

  /* The provider CTA and emergency banner use the same desktop content width
     and height while retaining their original mobile/tablet composition. */
  .ls-services-provider-cta .ls-services-provider-banner {
    display: flex;
    width: 100%;
    max-width: 80rem !important;
    height: clamp(16rem,20vw,18rem);
    min-height: 0;
    aspect-ratio: auto !important;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ls-services-editorial-card--live { transition: none; }
}
