.events-title {
    padding-bottom: 10px;
}

.events-wrap {
  position: relative;
  display: block;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  margin-bottom: 20px;
}

.events-container {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

.events-name {
  color: #232323;
  font-size: 16px;
  margin: 10px;
  text-align: left;
  min-height: 40px;
  line-height: 1.3;
}

.events-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.events-timer {
  margin: 12px 0;
  text-align: center;
}

.events-timer .item-timer {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.events-timer .item-timer > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
  padding: 6px 4px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.events-timer .item-timer > div span.num {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  line-height: 1.2;
}

.events-timer .item-timer > div span:last-child:not(.num) {
  font-size: 11px;
  color: #777777;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.events-timer.continuous {
  text-align: center;
  margin: 12px 0;
  font-size: 14px;
  color: #555;
  font-style: italic;
  background: #f9f9f9;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px dashed #e0e0e0;
}

.events_list::after {
  content: "";
  display: table;
  clear: both;
}
.events-category {
  margin-top: 15px;
}

.events-description {
    padding: 20px;
}
.events-gift-timer-wrapper {
  padding: 12px 15px;
}

.events-gift-timer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.events-gift {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.gift-thumb img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.gift-info {
  display: flex;
  flex-direction: column;
}

.gift-label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.gift-name {
  font-size: 15px;
  color: #222;
  font-weight: 600;
  text-decoration: none;
}

.events-gift-timer-row .events-timer,
.events-timer-only .events-timer {
  min-width: 160px;
  text-align: center;
}

.events-timer-only {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .events-gift-timer-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .events-timer-only {
    justify-content: flex-start;
    margin-top: 10px;
  }
  .events-gift-timer-row .events-timer {
    margin-top: 10px;
  }
}
