/**
 * Journey Teaser Shortcode Styles
 */

.rd-journey-teaser {
  background: linear-gradient(135deg, #e8f4fc 0%, #d4ecf9 100%);
  border-radius: 20px;
  padding: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.rd-journey-teaser-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.rd-journey-teaser-icon {
  width: 28px;
  height: 28px;
  color: #2d3748;
}

.rd-journey-teaser-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
}

.rd-journey-teaser-main {
  display: flex;
  gap: 16px;
  background: linear-gradient(135deg, #4db8d9 0%, #38a3c4 100%);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}

.rd-journey-teaser-image {
  flex: 0 0 180px;
  min-height: 140px;
}

.rd-journey-teaser-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rd-journey-teaser-info {
  flex: 1;
  padding: 16px 16px 16px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rd-journey-teaser-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px 0;
}

.rd-journey-teaser-description {
  font-size: 0.95rem;
  color: #fff;
  margin: 0;
  line-height: 1.5;
}

/* Content items section */
.rd-journey-teaser-content {
  margin-bottom: 16px;
}

.rd-journey-teaser-content-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.rd-journey-teaser-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.rd-journey-content-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rd-journey-content-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rd-journey-content-item-image {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
}

.rd-journey-content-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rd-journey-content-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rd-journey-content-item-type {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.rd-journey-content-item-type svg {
  opacity: 0.7;
}

.rd-journey-content-item-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: #2d3748;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Backstage link */
.rd-journey-teaser-backstage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: #2d3748;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rd-journey-teaser-backstage:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #2d3748;
}

.rd-journey-teaser-backstage-icon {
  color: #4db8d9;
}

.rd-journey-teaser-backstage-arrow {
  margin-left: auto;
  color: #a0aec0;
}

/* Responsive */
@media (max-width: 480px) {
  .rd-journey-teaser {
    padding: 16px;
  }

  .rd-journey-teaser-main {
    flex-direction: column;
  }

  .rd-journey-teaser-image {
    flex: none;
    height: 150px;
  }

  .rd-journey-teaser-info {
    padding: 16px;
  }

  .rd-journey-teaser-content-grid {
    grid-template-columns: 1fr;
  }
}
