/* Wrapper for the entire card block */
.ctcb-wrapper {
  position: relative;
  width: 100%;
  margin: 50px 0 0;
}

/* Tab label (top of the card) */
.ctcb-tab {
  position: absolute;
  bottom: calc(100% - 1px);
  background: #d33c87;
  color: #ffffff;
  padding: 6px 14px;
  border: 8px solid #d33c87;
  border-bottom: none;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.2px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.ctcb-tab-left {
  left: 20px;
  right: auto;
  transform: none;
  text-align: left;
}

.ctcb-tab-center {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  text-align: center;
}

.ctcb-tab-right {
  right: 20px;
  left: auto;
  transform: none;
  text-align: right;
}

/* The main card container */
.ctcb-card {
  width: 100%;
  height: 240px;
  box-sizing: border-box;
  position: relative;
  border: 8px solid #d33c87;
  border-radius: 14px;
  background-size: cover;
  background-position: center 60%;
  background-color: #e5e7eb;
  color: #111827;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
}

/* Description panel on the card */
.ctcb-description {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 40%;
  padding: 10px 12px;
  color: #ffffff;
  border-radius: 10px;
  line-height: 1.25;
  font-size: 16px;
  overflow-wrap: anywhere;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Action buttons container (optional future use) */
.ctcb-buttons {
  position: absolute;
  right: 16px;
  bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.ctcb-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  background: rgb(211 60 135);
  color: #ffffff !important;
  border: 1px solid #1f2937;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
}
