/* Unified venues: editorial directory cards on the canonical /locations/ page.
   Scoped to native Events Manager grid and list cards; Map is untouched. */
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"]
.em-location.cms-unified-venue-card,
body.page-id-622 #em-wrapper .em-view-container:is([data-view="list"],[data-view="location-list"])
.em-location.cms-unified-venue-card {
  border-top: 4px solid #c39454 !important;
  box-shadow: 0 9px 25px rgba(33,48,36,.12) !important;
  transition: box-shadow .16s ease, border-color .16s ease, transform .16s ease;
}
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"]
.em-location.cms-unified-venue-card:hover,
body.page-id-622 #em-wrapper .em-view-container:is([data-view="list"],[data-view="location-list"])
.em-location.cms-unified-venue-card:hover {
  box-shadow: 0 13px 30px rgba(33,48,36,.17) !important;
  border-color: #b58b52 !important;
}
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"]
.em-location.cms-unified-venue-card .em-item-info,
body.page-id-622 #em-wrapper .em-view-container:is([data-view="list"],[data-view="location-list"])
.em-location.cms-unified-venue-card .em-item-info {
  min-width: 0;
  padding: clamp(1rem,1.4vw,1.4rem) !important;
  gap: .65rem !important;
}
body.page-id-622 #em-wrapper .em-location.cms-unified-venue-card .em-item-title {
  margin: 0 !important;
  font: 750 clamp(1.17rem,1.48vw,1.42rem)/1.25 Georgia,serif !important;
  letter-spacing: -.012em !important;
  overflow-wrap: anywhere;
}
body.page-id-622 #em-wrapper .em-location.cms-unified-venue-card .em-item-title a {
  color: #19483b !important;
}
body.page-id-622 #em-wrapper .em-location.cms-unified-venue-card .em-location-address {
  font-size: .9rem !important;
  line-height: 1.5 !important;
}
body.page-id-622 #em-wrapper .em-location.cms-unified-venue-card .em-location-no-events {
  width: fit-content;
  max-width: 100%;
  border-left: 3px solid #c39454;
  border-radius: 3px;
  background: #f4ebd8;
  padding: .34rem .46rem;
  font-size: .78rem;
}
body.page-id-622 #em-wrapper .em-location.cms-unified-venue-card .cms-venue-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  color: #3e5145;
  font: 450 .91rem/1.57 system-ui,sans-serif !important;
  margin: .2rem 0 .3rem !important;
  padding: 0 !important;
  overflow-wrap: break-word;
}
body.page-id-622 #em-wrapper .em-location.cms-unified-venue-card .cms-venue-actions,
body.page-id-622 #em-wrapper .em-location.cms-unified-venue-card .em-item-actions {
  margin-top: auto !important;
  padding: .65rem 0 0 !important;
}
body.page-id-622 #em-wrapper .em-location.cms-unified-venue-card a.cms-venue-details-action {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 160px !important;
  max-width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #174a3d !important;
  border-radius: 6px !important;
  background: #245b4c !important;
  color: #fff9ed !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font: 750 .86rem/1.35 system-ui,sans-serif !important;
  box-shadow: none !important;
}
body.page-id-622 #em-wrapper .em-location.cms-unified-venue-card a.cms-venue-details-action:is(:hover,:focus-visible) {
  background: #9c492f !important;
  color: #fff !important;
  border-color: #773a2a !important;
}
@media (max-width: 600px) {
  body.page-id-622 #em-wrapper .em-location.cms-unified-venue-card .em-item-info {
    padding: 1rem !important;
  }
  body.page-id-622 #em-wrapper .em-location.cms-unified-venue-card .cms-venue-excerpt {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.page-id-622 #em-wrapper .em-location.cms-unified-venue-card { transition:none; }
}

/* Keep photo and native no-photo media rails equal on narrow cards. */
@media (max-width: 799px) {
  body.page-id-622 #em-wrapper .em-view-container[data-view="grid"]
  .em-location.cms-unified-venue-card .em-item-image.has-placeholder {
    box-sizing: border-box !important;
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    min-height: 165px !important;
    height: 165px !important;
    overflow: hidden;
  }
}
