/**
 * @file
 * Listing (venue) node styling.
 *
 * Attached on listing node pages via the clubbing411_module/styles.listings
 * library.
 */

.page-node-type-listing .field--name-field-geofield label {
  display: none;
  visibility: hidden;
}

/* Get Directions button. */
.c411-get-directions {
  display: inline-block;
  vertical-align: top;
  margin: 12px 8px 12px 0;
  padding: 8px 16px;
  background: #2b6cb0;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.c411-get-directions:hover {
  background: #245a96;
  color: #fff;
}

/* Save as heart icon (replaces Save/Saved text). */
.flag-favorite {
  display: inline-block;
  vertical-align: top;
  margin: 12px 8px 12px 0;
  line-height: 1;
}
.flag-favorite a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 0;
  text-decoration: none !important;
  border-bottom: 0 !important;
  cursor: pointer;
  line-height: 1;
}
.flag-favorite a::before {
  content: "\2665";        /* filled heart shape for both states */
  font-size: 26px;
  line-height: 1;
  color: #cbd5e0;          /* grey = not saved */
  transition: transform 0.12s ease, color 0.12s ease;
}
.flag-favorite.action-unflag a::before {
  color: #e53e3e;          /* red = saved */
}
.flag-favorite a:hover::before {
  transform: scale(1.15);
}

/* Detail page (full view): heart pinned top-right of the content card. */
.node--type-listing.full,
.node--type-events.full,
.node--type-offers.full {
  position: relative;
}
.node--type-listing.full > .content > .flag-favorite,
.node--type-events.full > .content > .flag-favorite,
.node--type-offers.full > .content > .flag-favorite {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  z-index: 5;
}

/* Cancel RSVP button (events) — matches the Get Directions button. */
.c411-cancel-rsvp-wrap {
  margin: 12px 0;
}
.c411-cancel-rsvp {
  display: inline-block;
  vertical-align: top;
  padding: 8px 16px;
  background: #2b6cb0;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.c411-cancel-rsvp:hover {
  background: #245a96;
  color: #fff;
}
.c411-rsvp-confirmed {
  margin: 0 0 8px;
  font-weight: 600;
  color: #2f855a;
}
