/* Headcount embeds. Defaults follow the host site; Elementor and shortcode attributes override them. */

.hc-feed {
  --hc-cols: 3;
  --hc-gap: 1.25rem;
  --hc-radius: 16px;
  --hc-img-h: 190px;
  --hc-font: inherit;
  --hc-title: inherit;
  --hc-text: inherit;
  --hc-meta: inherit;
  --hc-accent: currentColor;
  --hc-card-bg: transparent;
  --hc-btn-bg: currentColor;
  --hc-btn-color: Canvas;
  --hc-badge-bg: color-mix(in srgb, currentColor 10%, transparent);
  --hc-badge-color: inherit;
  box-sizing: border-box;
  font-family: var(--hc-font);
  color: var(--hc-text);
  width: 100%;
}

.hc-feed *,
.hc-feed *::before,
.hc-feed *::after {
  box-sizing: border-box;
}

.hc-feed__header {
  margin: 0 0 1.25rem;
}

.hc-feed__heading {
  margin: 0;
  color: var(--hc-title);
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hc-feed__subheading {
  margin: 0.4rem 0 0;
  color: var(--hc-meta);
}

.hc-feed__empty,
.hc-feed__none {
  margin: 0;
  padding: 1.25rem 0;
}

.hc-feed__items {
  display: grid;
  grid-template-columns: repeat(var(--hc-cols), minmax(0, 1fr));
  gap: var(--hc-gap);
}

.hc-feed--list .hc-feed__items,
.hc-feed--timeline .hc-feed__items,
.hc-feed--calendar .hc-feed__items {
  grid-template-columns: 1fr;
}

.hc-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  background: var(--hc-card-bg);
  border: 1px solid rgba(127, 127, 127, 0.22);
  border-color: color-mix(in srgb, currentColor 16%, transparent);
  border-radius: var(--hc-radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.hc-feed--lift .hc-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hc-feed--lift .hc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.hc-card__media {
  display: block;
  height: var(--hc-img-h);
  overflow: hidden;
  background: color-mix(in srgb, currentColor 6%, transparent);
}

.hc-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  padding: 1rem 1.05rem 1.1rem;
}

.hc-card__badge {
  display: inline-flex;
  align-self: flex-start;
  margin: 0;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(127, 127, 127, 0.12);
  background: var(--hc-badge-bg);
  color: var(--hc-badge-color);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hc-card__body[style*="text-align: center"] .hc-card__badge,
.hc-card__body[style*="text-align:center"] .hc-card__badge {
  align-self: center;
}

.hc-card__body[style*="text-align: right"] .hc-card__badge,
.hc-card__body[style*="text-align:right"] .hc-card__badge {
  align-self: flex-end;
}

.hc-card__title {
  margin: 0;
  color: var(--hc-title);
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.hc-card__title a {
  color: inherit;
  text-decoration: none;
}

.hc-card__title a:hover {
  text-decoration: underline;
}

.hc-card__meta,
.hc-card__location,
.hc-card__spots,
.hc-card__excerpt {
  margin: 0;
  color: var(--hc-meta);
  font-size: 0.92rem;
  line-height: 1.45;
}

.hc-card__excerpt p {
  margin: 0;
}

.hc-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.hc-card__body[style*="text-align: center"] .hc-card__foot,
.hc-card__body[style*="text-align:center"] .hc-card__foot {
  justify-content: center;
}

.hc-card__body[style*="text-align: right"] .hc-card__foot,
.hc-card__body[style*="text-align:right"] .hc-card__foot {
  justify-content: flex-end;
}

.hc-card__price {
  font-weight: 650;
  color: var(--hc-title);
}

.hc-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--hc-btn-bg, var(--hc-accent));
  color: var(--hc-btn-color);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.hc-card__button:hover {
  filter: brightness(1.08);
  color: var(--hc-btn-color);
}

.hc-feed--block-button .hc-card__button {
  width: 100%;
}

.hc-feed--list .hc-card,
.hc-feed--compact .hc-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: stretch;
}

.hc-feed--compact .hc-card {
  grid-template-columns: 88px minmax(0, 1fr);
}

.hc-feed--list .hc-card__media,
.hc-feed--compact .hc-card__media {
  height: 100%;
  min-height: 120px;
}

.hc-feed--compact .hc-card__body {
  padding: 0.75rem 0.9rem;
}

.hc-feed--featured {
  display: grid;
  gap: var(--hc-gap);
}

.hc-feed--featured .hc-feed__feature .hc-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

.hc-feed--featured .hc-feed__feature .hc-card__media {
  height: 100%;
  min-height: 240px;
}

.hc-feed--timeline {
  margin-left: 0.4rem;
  border-left: 2px solid color-mix(in srgb, currentColor 18%, transparent);
}

.hc-feed--timeline .hc-card {
  position: relative;
  margin-left: 1.1rem;
}

.hc-feed--timeline .hc-card::before {
  content: "";
  position: absolute;
  left: calc(-1.1rem - 5px);
  top: 1.3rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hc-accent);
}

.hc-table-wrap {
  overflow-x: auto;
}

.hc-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.hc-table th,
.hc-table td {
  padding: 0.75rem 0.7rem;
  border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  vertical-align: middle;
}

.hc-table th {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hc-table .hc-card__badge {
  margin-left: 0.45rem;
}

.hc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.hc-toolbar__search,
.hc-toolbar__cats button,
.hc-toolbar__kinds button,
.hc-cal__nav button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 999px;
}

.hc-toolbar__search {
  min-width: min(100%, 220px);
  padding: 0.45rem 0.8rem;
}

.hc-toolbar__cats,
.hc-toolbar__kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hc-toolbar__cats button,
.hc-toolbar__kinds button,
.hc-cal__nav button {
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.hc-toolbar__cats button.is-active,
.hc-toolbar__kinds button.is-active,
.hc-cal__nav button.is-active {
  background: var(--hc-accent);
  color: var(--hc-btn-color);
  border-color: transparent;
}

.hc-cal__nav {
  display: grid;
  grid-template-columns: 2.25rem 1fr 2.25rem;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.hc-cal__months {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hc-cal__step {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border-radius: 999px;
  position: relative;
}

.hc-cal__step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}

.hc-cal__step[data-hc-month-step="prev"]::before {
  transform: translate(-30%, -50%) rotate(45deg);
}

.hc-cal__step[data-hc-month-step="next"]::before {
  transform: translate(-70%, -50%) rotate(-135deg);
}

.hc-cal__step:disabled {
  opacity: 0.35;
  cursor: default;
}

.hc-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.hc-cal__dow,
.hc-cal__day {
  min-width: 0;
  padding: 0.35rem;
  font-size: 0.78rem;
}

.hc-cal__dow {
  min-height: 0;
  opacity: 0.7;
  font-weight: 650;
}

.hc-cal__day {
  min-height: 6.25rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.2rem;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
  background: color-mix(in srgb, currentColor 3%, transparent);
}

.hc-cal__day.is-empty {
  background: transparent;
  border-color: transparent;
}

.hc-cal__day.is-today .hc-cal__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1.5px var(--hc-accent);
}

.hc-cal__num {
  font-weight: 650;
  line-height: 1.2;
}

.hc-cal__chip {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.18rem 0.35rem;
  border: 0;
  border-radius: 6px;
  background: color-mix(in srgb, var(--hc-accent) 18%, transparent);
  color: inherit;
  font: inherit;
  font-size: 0.72rem;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.hc-cal__chip-time,
.hc-cal__chip-name {
  display: block;
  overflow: hidden;
}

.hc-cal__chip-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}

.hc-cal__chip-time {
  font-size: 0.65rem;
  opacity: 0.75;
}

.hc-cal__chip:hover,
.hc-cal__chip:focus-visible {
  background: color-mix(in srgb, var(--hc-accent) 32%, transparent);
}

.hc-cal__dialog {
  width: min(32rem, calc(100vw - 2rem));
  max-height: min(86vh, 44rem);
  margin: auto;
  padding: 1.25rem 1.25rem 1.1rem;
  border: 0;
  border-radius: var(--hc-radius);
  background: #fff;
  color: #1c1917;
  box-shadow: 0 24px 60px rgba(15, 18, 28, 0.22);
}

.hc-cal__dialog::backdrop {
  background: rgba(15, 18, 28, 0.48);
}

.hc-cal__dialog .hc-card {
  display: block;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hc-cal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.08);
  color: inherit;
  cursor: pointer;
}

.hc-cal__close::before,
.hc-cal__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.85rem;
  height: 1.5px;
  background: currentColor;
}

.hc-cal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.hc-cal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hc-cal__nav .hc-cal__step {
  padding: 0;
}

.hc-cal__months button {
  display: none;
}

.hc-cal__months button.is-active {
  display: inline-flex;
  background: transparent;
  color: inherit;
  border-color: transparent;
  font-size: 1.15rem;
  font-weight: 700;
}

.hc-cal__month-empty {
  margin: 0.85rem 0 0;
  color: inherit;
  opacity: 0.7;
}

.hc-cal__chip[data-hc-type="program"] {
  box-shadow: inset 3px 0 0 var(--hc-accent);
}

.hc-cal__dialog .hc-card,
.hc-cal__dialog .hc-card:hover {
  transform: none;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hc-cal__unscheduled {
  margin-top: 1.25rem;
}

.hc-cal__unscheduled h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.hc-feed [hidden] {
  display: none !important;
}

.hc-feed .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 782px) {
  .hc-feed {
    --hc-cols: 1;
  }

  .hc-cal__day {
    min-height: 4.6rem;
    padding: 0.2rem;
  }

  .hc-cal__chip {
    font-size: 0.62rem;
    padding: 0.1rem 0.2rem;
  }

  .hc-cal__chip-time {
    display: none;
  }

  .hc-feed--list .hc-card,
  .hc-feed--compact .hc-card,
  .hc-feed--featured .hc-feed__feature .hc-card {
    grid-template-columns: 1fr;
  }

  .hc-feed--list .hc-card__media,
  .hc-feed--compact .hc-card__media,
  .hc-feed--featured .hc-feed__feature .hc-card__media {
    height: var(--hc-img-h);
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hc-feed--lift .hc-card {
    transition: none;
  }

  .hc-feed--lift .hc-card:hover {
    transform: none;
  }
}
