/* VIP Crossing Agenda — Fiche événement compacte (mobile + web).
   Ne modifie pas les formulaires de création / d'édition. */
#vpc-modal .vpc-modal-close {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px;
  max-height: 40px;
  flex: 0 0 40px;
  padding: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid #e0e5ec;
  background: #f1f4f8;
  color: #253249;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
#vpc-modal .vpc-modal-close:hover,
#vpc-modal .vpc-modal-close:focus-visible {
  background: #e7edf6;
  outline: 2px solid #e7732a;
  outline-offset: 2px;
}
#vpc-modal .vpc-modal-card:has(.vpc-event-highlights) {
  width: min(580px, 100%);
  border-radius: 22px;
  padding: 24px;
  background: #fff;
  color: #263349;
}
#vpc-modal .vpc-modal-title-row:has(+ .vpc-event-cover) {
  padding-right: 46px;
  margin-bottom: 12px;
}
#vpc-modal .vpc-modal-title-row:has(+ .vpc-event-cover) .vpc-modal-title {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.17;
  font-weight: 750;
  letter-spacing: -.02em;
  margin: 4px 0 0;
  color: #17273c;
  overflow-wrap: anywhere;
}
#vpc-modal .vpc-modal-card:has(.vpc-event-highlights) .vpc-eyebrow {
  font-size: 10px;
  font-weight: 800;
  color: #d45820;
  letter-spacing: .1em;
}
#vpc-modal .vpc-event-cover {
  height: 188px;
  max-height: none;
  margin: 10px 0 14px;
  border-radius: 15px;
  overflow: hidden;
  background: #28314d;
}
#vpc-modal .vpc-event-cover-image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
}
#vpc-modal .vpc-cover-category {
  bottom: 11px;
  left: 11px;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
}
#vpc-modal .vpc-event-highlights {
  background: #f7f9fc;
  border: 1px solid #e9edf4;
  border-radius: 15px;
  padding: 3px 15px 1px;
  margin-bottom: 12px;
}
#vpc-modal .vpc-event-highlight {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 13px 0;
}
#vpc-modal .vpc-event-highlight + .vpc-event-highlight {
  border-top: 1px solid #e5eaf2;
}
#vpc-modal .vpc-event-highlight-icon {
  color: #dd672b;
  font-size: 24px;
  line-height: 1;
  text-align: center;
  padding-top: 1px;
}
#vpc-modal .vpc-event-highlight-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .085em;
  font-weight: 750;
  color: #737e90;
  margin-bottom: 4px;
}
#vpc-modal .vpc-event-highlight strong {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: #1c2a40;
  font-weight: 700;
  overflow-wrap: anywhere;
}
#vpc-modal .vpc-event-highlight-date { color: #c34c19 !important; }
#vpc-modal .vpc-event-publisher {
  border-top: 1px solid #e5eaf2;
  padding: 10px 0 12px 39px;
  font-size: 12px;
  color: #7b8492;
}
#vpc-modal .vpc-event-publisher strong { color: #233653; font-weight: 750; }
#vpc-modal .vpc-internal-share {
  border: 1px solid #e6eaf1;
  background: #fff;
  border-radius: 12px;
  padding: 0;
  margin: 0 0 14px;
  overflow: hidden;
  color: #263349;
}
#vpc-modal .vpc-internal-share summary {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: 46px;
  padding: 10px 14px;
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 750;
  color: #273b58;
}
#vpc-modal .vpc-internal-share summary::-webkit-details-marker { display: none; }
#vpc-modal .vpc-share-icon {
  display: grid;
  place-items: center;
  border-radius: 9px;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  background: #fff1e9;
  color: #c45620;
  font-size: 19px;
}
#vpc-modal .vpc-share-chevron { margin-left: auto; color: #6e7a8d; font-size: 18px; }
#vpc-modal .vpc-internal-share[open] .vpc-share-chevron { transform: rotate(180deg); }
#vpc-modal .vpc-internal-share-body {
  border-top: 1px solid #edf0f5;
  padding: 12px 14px 14px;
}
#vpc-modal .vpc-internal-share-body p {
  margin: 0 0 10px;
  color: #657387;
  font-size: 12px;
  line-height: 1.5;
}
#vpc-modal .vpc-internal-share-body label {
  display: block;
  margin: 0 0 7px;
  color: #2c3c57;
  font-size: 12px;
}
#vpc-modal .vpc-internal-share-search { display: flex; gap: 8px; flex-wrap: wrap; }
#vpc-modal .vpc-internal-share-search input {
  min-width: 0;
  flex: 1 1 160px;
  padding: 10px;
  min-height: 41px;
  border: 1px solid #cbd4e3;
  border-radius: 9px;
  background: #fff;
  color: #17273c;
  font-size: 14px;
}
#vpc-modal .vpc-internal-share-search button,
#vpc-modal .vpc-internal-share-member {
  min-height: 41px;
  padding: 9px 12px;
  border: 1px solid #d2dbea;
  border-radius: 9px;
  background: #f7f9fd;
  color: #283b57;
  font-size: 12px;
  font-weight: 700;
}
#vpc-modal .vpc-internal-share-member { display: block; width: 100%; margin-top: 7px; text-align: left; }
#vpc-modal [data-agenda-share-results] { margin-top: 8px; font-size: 12px; }
#vpc-modal .vpc-modal-description {
  border-top: 1px solid #edf0f5;
  padding-top: 14px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.65;
}
@media (max-width: 600px) {
  #vpc-modal .vpc-modal-card:has(.vpc-event-highlights) {
    padding: 20px 16px;
    border-radius: 20px;
  }
  #vpc-modal .vpc-modal-close {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    top: 14px;
    right: 14px;
    border-radius: 50%;
  }
  #vpc-modal .vpc-modal-title-row:has(+ .vpc-event-cover) {
    padding-right: 43px;
  }
  #vpc-modal .vpc-modal-title-row:has(+ .vpc-event-cover) .vpc-modal-title {
    font-size: 23px;
    line-height: 1.19;
  }
  #vpc-modal .vpc-event-cover { height: 160px; margin: 12px 0; border-radius: 13px; }
  #vpc-modal .vpc-event-highlights { padding-inline: 12px; }
  #vpc-modal .vpc-event-highlight { padding-block: 11px; }
  #vpc-modal .vpc-internal-share summary { font-size: 12px; }
}
