/* =========================
   Captainholiday Infoboxes
   ========================= */

.ch-note {
  --ch-bg: #fff7e6;
  --ch-ink: #1f2937;
  --ch-muted: rgba(31, 41, 55, 0.72);
  --ch-border: rgba(31, 41, 55, 0.12);
  --ch-shadow: 0 10px 24px rgba(31, 41, 55, 0.12);
  --ch-ring: 0 0 0 1px rgba(31, 41, 55, 0.06);

  background: linear-gradient(135deg, rgba(255, 247, 230, 0.96), #ffffff 55%);
  color: var(--ch-ink);
  border: 1px solid var(--ch-border);
  border-radius: 20px;
  padding: 16px 18px;
  margin: 20px 0;
  position: relative;
  box-shadow: var(--ch-shadow);
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ch-note:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(31, 41, 55, 0.16);
}

.ch-note__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ch-note__badge {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--ch-ring), 0 6px 14px rgba(31, 41, 55, 0.12);
  line-height: 1;
  user-select: none;
}

.ch-note__icon {
  font-size: 19px;
}

.ch-note__content {
  flex: 1;
}

.ch-note__headline {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  margin: 2px 0 8px 0;
}

.ch-note__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ch-muted);
}

.ch-note::after {
  content: "";
  position: absolute;
  right: 18px;
  top: -10px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(245, 179, 1, 0.35);
}

/* Skin B: Label-Strip */
.ch-note--label {
  padding-top: 20px;
}

.ch-note--label .ch-note__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  left: 18px;
  top: -12px;
  background: #ffffff;
  border: 1px solid var(--ch-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 12px;
  box-shadow: var(--ch-ring), 0 6px 16px rgba(31, 41, 55, 0.1);
}

.ch-note--label::after {
  display: none;
}


/* Icon-Typen */
.ch-note--bulb .ch-note__badge {
  background: rgba(255, 236, 179, 0.85);
}

.ch-note--info .ch-note__badge {
  background: rgba(219, 234, 254, 0.85);
}

.ch-note--clip .ch-note__badge {
  background: rgba(209, 250, 229, 0.85);
}

@media (max-width: 600px) {
  .ch-note {
    padding: 14px 16px;
  }

  .ch-note__headline {
    font-size: 17px;
  }

  .ch-note__badge {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
}