.tips {
  padding: 2em 0;
}

.tip {
  display: flex;
  align-items: center;
  padding: 4px 2em;
  cursor: pointer;
  border-top: #dddddd solid 1px;
  transition: all 0.2s ease;
  position: relative;
  min-width: 0;
  margin: 0;
}

.tip:hover::before {
  content: '';
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  right: 0;
  background-color: #f5f5f5;
  z-index: -1;
}

.tip-content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  min-width: 0;
  overflow: hidden;
}

.tip-name {
  font-weight: 500;
  min-width: 100px;
  max-width: 100px;
  flex-shrink: 0;
  padding-right: 8px;
}

.extra-info {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #333333;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.extra-info-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 1em 2em;
  color: white;
}

.btn {
  background: none;
  border: none;
  padding: 0 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.arrow {
  border: solid #666;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transition: transform 0.3s;
}

.arrow.down {
  transform: rotate(45deg);
}

.arrow.up {
  transform: rotate(-135deg);
}

/* Links in short format (black with dark gray hover) */
.tip-short a {
  color: #000000 !important;
  transition: color 0.2s ease;
}

.tip-short a:hover {
  color: #444444 !important;
}

/* Links in expanded content (white with light gray hover) */
.extra-info-content a {
  color: #ffffff !important;
  transition: color 0.2s ease;
}

.extra-info-content a:hover {
  color: #dddddd !important;
}
