.sgc-left-card,
.sgc-left-card * {
  box-sizing: border-box;
}

.sgc-left-card {
  position: relative;
  width: 100%;
  margin: 0 0 22px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(30, 99, 48, 0.12);
  border-radius: 20px;
  background: #fff;
  color: #223329;
  font-family: inherit;
  box-shadow: 0 10px 28px rgba(24, 59, 34, 0.09), 0 2px 7px rgba(24, 59, 34, 0.05);
}

.sgc-left-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 95px;
  height: 95px;
  border-radius: 0 0 0 100%;
  background: linear-gradient(145deg, rgba(55, 128, 71, 0.11), rgba(55, 128, 71, 0.02));
  content: "";
  pointer-events: none;
}

.sgc-events-card {
  background: radial-gradient(circle at top right, rgba(66, 145, 82, 0.10), transparent 150px), #fff;
}

.sgc-left-heading {
  display: flex;
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  align-items: flex-start;
  gap: 11px;
}

.sgc-heading-icon {
  display: flex;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #edf6ee;
  font-size: 21px;
  line-height: 1;
}

.sgc-left-heading h2 {
  margin: 1px 0 3px;
  color: #183b22;
  font-family: inherit;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.25;
}

.sgc-left-heading p {
  margin: 0;
  color: #69746c;
  font-size: 12px;
  line-height: 1.45;
}

.sgc-event-list {
  display: grid;
  position: relative;
  z-index: 1;
  gap: 11px;
}

.sgc-event {
  display: grid;
  position: relative;
  min-height: 82px;
  padding: 11px 12px;
  overflow: hidden;
  align-items: center;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 13px;
  border: 1px solid #e1eae3;
  border-radius: 16px;
  background: linear-gradient(135deg, #fbfdfb, #f5f9f6);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sgc-event::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: #d9e8dc;
  content: "";
}

.sgc-event-highlight::after {
  background: #28743d;
}

.sgc-event:hover {
  border-color: rgba(40, 116, 61, 0.30);
  box-shadow: 0 8px 18px rgba(28, 78, 42, 0.09);
  transform: translateY(-2px);
}

.sgc-event-link {
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
}

.sgc-event-link:focus-visible {
  outline: 3px solid rgba(40, 116, 61, 0.35);
  outline-offset: -3px;
}

.sgc-event-date {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  background: linear-gradient(145deg, #3a8a50, #205f32);
  color: #fff;
  text-align: center;
  box-shadow: 0 7px 15px rgba(40, 116, 61, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.sgc-event-date strong {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.sgc-event-date span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.90);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
}

.sgc-date-range strong {
  font-size: 12px;
  letter-spacing: -.02em;
}

.sgc-event-details {
  min-width: 0;
  padding-right: 5px;
}

.sgc-event-label {
  display: inline-flex;
  margin-bottom: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e5f2e8;
  color: #246536;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.45;
  text-transform: uppercase;
}

.sgc-event-details > strong {
  display: block;
  color: #203128;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.sgc-event-location {
  display: block;
  margin-top: 5px;
  color: #68746c;
  font-size: 11px;
}

.sgc-events-empty {
  margin: 0;
  padding: 14px;
  border: 1px solid #e1eae3;
  border-radius: 14px;
  background: #f7faf7;
  color: #68746c;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 380px) {
  .sgc-left-card {
    padding: 17px;
    border-radius: 17px;
  }

  .sgc-event {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
  }

  .sgc-event-date {
    width: 50px;
    height: 50px;
  }
}
