/* ChurchTools descriptions: all presentation and signup styles belong to Core. */
.c1-highlight-card__description.c1-event-rich-text { overflow-wrap: anywhere; }
.c1-highlight-card__description.c1-event-rich-text h4,
.c1-highlight-card__description.c1-event-rich-text h5,
.c1-highlight-card__description.c1-event-rich-text h6 {
  margin: 1.1em 0 .45em; font-size: 1.08em; line-height: 1.35;
  color: #436e5d; letter-spacing: normal;
}
.c1-highlight-card__description.c1-event-rich-text ul,
.c1-highlight-card__description.c1-event-rich-text ol { padding-left: 1.4em; margin: .75em 0; list-style-position: outside; }
.c1-highlight-card__description.c1-event-rich-text ul { list-style-type: disc; }
.c1-highlight-card__description.c1-event-rich-text ol { list-style-type: decimal; }
.c1-event-rich-text li + li { margin-top: .3em; }
.c1-event-rich-text blockquote { margin: .8em 0; padding: .2em 0 .2em 1em; border-left: 3px solid #436e5d; }
.c1-event-rich-text blockquote p { margin: 0; }
.c1-event-rich-text code {
  font-family: ui-monospace, Consolas, monospace; font-size: .9em;
  background: #f7f5ec; padding: .1em .3em; border-radius: .2em;
}
.c1-event-rich-text pre {
  max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere;
  margin: .8em 0; padding: .75em; background: #f7f5ec;
}
.c1-event-rich-text pre code { padding: 0; background: transparent; }
.c1-event-rich-text a { color: #436e5d; text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.c1-event-rich-text a:hover { text-decoration-thickness: 2px; }
.c1-event-rich-text a:focus-visible { outline: 2px solid #436e5d; outline-offset: 3px; }
.c1-highlight-card__action--email { margin-top: 1em; }
/* All highlight actions use ONE state model, independent of button origin:
   native event links and Markdown-derived e-mail registrations share the
   c1-highlight-card__button class and look identical on hover/focus. */
.c1-highlight-card__action .c1-highlight-card__button,
.c1-highlight-card__action .c1-highlight-card__button:link,
.c1-highlight-card__action .c1-highlight-card__button:visited {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 10px 17px; border-radius: 8px;
  border: 2px solid #436e5d; background: #436e5d;
  color: #fff !important; font-weight: 700; line-height: 1.2;
  text-decoration: none !important;
  transition: transform .18s ease, background-color .18s ease;
}
/* Matches the established C1 theme hover (#35594a), for EVERY highlight
   action. In particular, e-mail buttons no longer turn cream/white. */
.c1-highlight-card__action .c1-highlight-card__button:hover,
.c1-highlight-card__action .c1-highlight-card__button:focus-visible {
  background: #35594a; color: #fff !important;
  transform: translateY(-1px);
}
.c1-highlight-card__action .c1-highlight-card__button:focus-visible {
  outline: 3px solid #eee53c; outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .c1-highlight-card__action .c1-highlight-card__button { transition: none; }
  .c1-highlight-card__action .c1-highlight-card__button:hover,
  .c1-highlight-card__action .c1-highlight-card__button:focus-visible { transform: none; }
}
/* Top highlight sits above the usual three-card grid. No change to standard cards. */
.c1-highlight-featured { margin-bottom: 1.75rem; }
.c1-highlight-featured .c1-highlight-card { border: 2px solid #436e5d; }
.c1-highlight-featured__label { margin: 0 0 .5rem; font-weight: 700; font-size: .875rem; letter-spacing: .04em; text-transform: uppercase; color: #436e5d; }
@media (min-width: 800px) {
  .c1-highlight-featured .c1-highlight-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .c1-highlight-featured .c1-highlight-card__media { height: 100%; min-height: 280px; }
}
