/**
 * Principle Card Widget
 * From: .principle in training.html
 * Prefix: .nw-prin-
 */

.nw-prin-wrapper {
  background: linear-gradient(88deg, #11B5E4 45%, #0891b2 100%);
  border-radius: 34px;
  padding: 0;
  position: relative;
}

.nw-prin-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  position: relative;
  bottom: 8px;
  right: 0;
  transition: all 0.3s ease;
}

.nw-prin-wrapper:hover .nw-prin-card {
  bottom: 12px;
  right: 4px;
  box-shadow: 0 20px 40px rgba(17, 181, 228, 0.15);
}

.nw-prin-card__icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px solid #11B5E4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(17, 181, 228, 0.2);
}

.nw-prin-card__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nw-prin-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.nw-prin-card__tag {
  font-size: 12px;
  font-weight: 700;
  color: #11B5E4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.nw-prin-card__title {
  font-size: 24px;
  font-weight: 700;
  color: #0a0f1a;
  margin: 0 0 12px 0;
  line-height: 1.25;
}

.nw-prin-card__description {
  font-size: 16px;
  line-height: 1.6;
  color: #64625a;
  margin: 0;
}

.nw-prin-card__description a {
  color: #11B5E4;
  font-weight: 500;
  text-decoration: none;
  margin-left: 4px;
}

.nw-prin-card__description a:hover {
  text-decoration: underline;
}

.nw-prin-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #11B5E4;
  text-decoration: none;
  margin-top: 16px;
  transition: gap 0.3s ease;
}

.nw-prin-card__link:hover {
  gap: 12px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .nw-prin-wrapper {
    border-radius: 24px;
  }
  
  .nw-prin-card {
    flex-direction: column;
    padding: 24px;
    border-radius: 18px;
    bottom: 6px;
  }
  
  .nw-prin-wrapper:hover .nw-prin-card {
    bottom: 10px;
    right: 3px;
  }
  
  .nw-prin-card__icon {
    width: 64px;
    height: 64px;
  }
  
  .nw-prin-card__icon img {
    width: 32px;
    height: 32px;
  }
  
  .nw-prin-card__title {
    font-size: 20px;
  }
}
