[data-hcdl-calendar].bee-cal {
  --bee-cal-surface: #ffffff;
  --bee-cal-title: #6b4d3b;
  --bee-cal-border: #e5e1db;
  --bee-cal-border-width: 1px;
  --bee-cal-text: #6a5a4f;
  --bee-cal-header-text: #6a5a4f;
  --bee-cal-muted: #8e837c;
  --bee-cal-day-number: #8e837c;
  --bee-cal-grid-gap: 8px;
  --bee-cal-event-gap: 4px;
  --bee-cal-event-min-height: 22px;
  --bee-cal-day-radius: 10px;
  --bee-cal-event-radius: 4px;
  --bee-cal-today-border: #7a954e;
  --bee-cal-legend-text: #6a5a4f;
  --bee-cal-popup-bg: #ffffff;
  --bee-cal-popup-text: #4f433d;
  --bee-cal-shadow: 0 10px 28px rgba(66, 46, 31, 0.12);
  width: 100%;
}

[data-hcdl-calendar].bee-cal,
[data-hcdl-calendar].bee-cal * {
  box-sizing: border-box;
}

[data-hcdl-calendar].bee-cal {
  color: var(--bee-cal-text);
  font-family: inherit;
  line-height: 1.4;
}

[data-hcdl-calendar].bee-cal :is(.fc, .fc *, .bee-cal-title, .bee-cal-board, .bee-cal-legend, .bee-cal-legend *, .bee-cal-popup, .bee-cal-popup *) {
  font-family: inherit;
  letter-spacing: normal;
  text-transform: none;
}

[data-hcdl-calendar].bee-cal :is(table, thead, tbody, tfoot, tr, th, td) {
  color: inherit;
  font: inherit;
}

[data-hcdl-calendar].bee-cal :is(a, button) {
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-decoration: none;
  text-transform: none;
}

[data-hcdl-calendar].bee-cal button {
  appearance: none;
  box-shadow: none;
}

[data-hcdl-calendar].bee-cal .bee-cal-title {
  margin: 0 0 34px;
  color: var(--bee-cal-title);
  text-align: center;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 1.1;
}

[data-hcdl-calendar].bee-cal .bee-cal-board {
  background: var(--bee-cal-surface);
  border-radius: 16px;
  box-shadow: var(--bee-cal-shadow);
  padding: 22px 20px 18px;
}

[data-hcdl-calendar].bee-cal .fc {
  color: var(--bee-cal-text);
}

[data-hcdl-calendar].bee-cal .fc-theme-standard .fc-scrollgrid,
[data-hcdl-calendar].bee-cal .fc-theme-standard td,
[data-hcdl-calendar].bee-cal .fc-theme-standard th {
  border-color: var(--bee-cal-border);
  border-width: var(--bee-cal-border-width);
}

[data-hcdl-calendar].bee-cal .fc .fc-toolbar.fc-header-toolbar {
  margin-bottom: 20px;
}

[data-hcdl-calendar].bee-cal .fc .fc-toolbar-title {
  color: var(--bee-cal-header-text);
  font-size: 20px;
  line-height: 1.3;
}

[data-hcdl-calendar].bee-cal .fc .fc-button {
  border: var(--bee-cal-border-width) solid var(--bee-cal-border);
  border-radius: 999px;
  background: #fff;
  color: var(--bee-cal-header-text);
  box-shadow: none;
  text-transform: none;
  padding:0;
}

[data-hcdl-calendar].bee-cal .fc .fc-button:hover,
[data-hcdl-calendar].bee-cal .fc .fc-button:focus,
[data-hcdl-calendar].bee-cal .fc .fc-button-primary:not(:disabled).fc-button-active {
  border-color: var(--bee-cal-header-text);
  background: #faf7f3;
  color: var(--bee-cal-header-text);
}

[data-hcdl-calendar].bee-cal .fc .fc-col-header-cell {
  padding: 6px 4px;
	border:0;
}

[data-hcdl-calendar].bee-cal .fc .fc-col-header-cell-cushion {
  color: var(--bee-cal-header-text);
  text-decoration: none;
  font-size: 14px !important;
  font-weight: 600;
}

[data-hcdl-calendar].bee-cal .fc .fc-daygrid-day-frame {
  padding: 6px;
}

[data-hcdl-calendar].bee-cal .fc .fc-daygrid-day-number {
  color: var(--bee-cal-day-number);
  font-size: 12px;
  text-decoration: none;
}

[data-hcdl-calendar].bee-cal .fc .fc-daygrid-day {
  overflow: hidden;
  border-radius: var(--bee-cal-day-radius);
}

[data-hcdl-calendar].bee-cal .fc .fc-daygrid-day.fc-day-today {
  background: transparent;
}

[data-hcdl-calendar].bee-cal .fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-frame {
  border-radius: calc(var(--bee-cal-day-radius) - 1px);
  box-shadow: inset 0 0 0 2px var(--bee-cal-today-border);
}

[data-hcdl-calendar].bee-cal .fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
  color: var(--bee-cal-today-border);
  font-weight: 700;
}

[data-hcdl-calendar].bee-cal .fc .fc-daygrid-day-events {
  margin-top: 6px;
}

[data-hcdl-calendar].bee-cal .fc .fc-daygrid-event-harness {
  margin-top: var(--bee-cal-event-gap);
}

[data-hcdl-calendar].bee-cal .fc .fc-daygrid-event {
  border: 0;
  border-radius: var(--bee-cal-event-radius);
  padding: 4px 6px;
  cursor: pointer;
}

[data-hcdl-calendar].bee-cal .fc .fc-daygrid-event .fc-event-main {
  padding: 0;
}

[data-hcdl-calendar].bee-cal .bee-cal-event-inner {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.25;
}

[data-hcdl-calendar].bee-cal .fc .fc-day-other .fc-daygrid-day-frame {
  background: #F9FAFB;
}

[data-hcdl-calendar].bee-cal .fc .fc-daygrid-more-link {
  color: var(--bee-cal-title);
  font-size: 11px;
}

[data-hcdl-calendar].bee-cal .fc .fc-view-harness {
  margin-top: 6px;
}

[data-hcdl-calendar].bee-cal .fc table {
  border-collapse: separate;
  border-spacing: var(--bee-cal-grid-gap);
	border: 0;
    margin: 0;
}

[data-hcdl-calendar].bee-cal .fc .fc-scrollgrid {
  border: 0;
}

[data-hcdl-calendar].bee-cal .fc .fc-daygrid-body-natural .fc-daygrid-day-events {
  margin-bottom: 0;
}

[data-hcdl-calendar].bee-cal .fc .fc-daygrid-day-top {
  justify-content: flex-start;
}

[data-hcdl-calendar].bee-cal .bee-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: var(--bee-cal-border-width) solid var(--bee-cal-border);
}

[data-hcdl-calendar].bee-cal .bee-cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

[data-hcdl-calendar].bee-cal .bee-cal-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex: 0 0 12px;
}

[data-hcdl-calendar].bee-cal .bee-cal-legend-label {
  color: var(--bee-cal-legend-text);
  font-size: 12px;
  line-height: 1.3;
}

[data-hcdl-calendar].bee-cal .bee-cal-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

[data-hcdl-calendar].bee-cal .bee-cal-popup[hidden] {
  display: none !important;
}

[data-hcdl-calendar].bee-cal :is(
  .bee-cal-popup-image-wrap,
  .bee-cal-popup-badge,
  .bee-cal-popup-title,
  .bee-cal-popup-date,
  .bee-cal-popup-time,
  .bee-cal-popup-description,
  .bee-cal-popup-link
)[hidden] {
  display: none !important;
}

[data-hcdl-calendar].bee-cal .bee-cal-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 18, 15, 0.52);
}

[data-hcdl-calendar].bee-cal .bee-cal-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(540px, calc(100vw - 32px));
  margin: 8vh auto 0;
  padding: 26px 24px 24px;
  border-radius: 18px;
  background: var(--bee-cal-popup-bg);
  box-shadow: 0 18px 40px rgba(22, 18, 15, 0.25);
  color: var(--bee-cal-popup-text);
}

[data-hcdl-calendar].bee-cal .bee-cal-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f4efea;
  color: var(--bee-cal-popup-text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

[data-hcdl-calendar].bee-cal .bee-cal-popup-image-wrap {
  margin: -8px -6px 18px;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 9;
  background: #e9dfd3;
}

[data-hcdl-calendar].bee-cal .bee-cal-popup-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-hcdl-calendar].bee-cal .bee-cal-popup-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

[data-hcdl-calendar].bee-cal .bee-cal-popup-title {
  margin: 0 0 8px;
  color: var(--bee-cal-title);
  font-size: 28px;
  line-height: 1.15;
}

[data-hcdl-calendar].bee-cal .bee-cal-popup-date,
[data-hcdl-calendar].bee-cal .bee-cal-popup-time {
  margin: 0 0 8px;
  color: var(--bee-cal-text);
  font-size: 14px;
  line-height: 1.5;
}

[data-hcdl-calendar].bee-cal .bee-cal-popup-description {
  margin-top: 14px;
  color: var(--bee-cal-popup-text);
  font-size: 15px;
  line-height: 1.65;
}

[data-hcdl-calendar].bee-cal .bee-cal-popup-description p {
  margin: 0;
}

[data-hcdl-calendar].bee-cal .bee-cal-popup-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bee-cal-title);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
}

@media (max-width: 767px) {
  [data-hcdl-calendar].bee-cal .bee-cal-board {
    padding: 18px 12px 14px;
  }

  [data-hcdl-calendar].bee-cal .fc .fc-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  [data-hcdl-calendar].bee-cal .fc .fc-toolbar-title {
    text-align: center;
  }

  [data-hcdl-calendar].bee-cal .bee-cal-popup-dialog {
    margin-top: 5vh;
    padding: 22px 18px 18px;
  }
}