/* Customer Pages Styles */

/* Customer Listing Page */
.wrap_qoute_card {
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wrap_qoute_card:hover {
  transform: translateY(-5px);
}

.quote_card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quote_card.hover:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.quote_card .div-wrapper {
  height: 80px;
  display: flex;
  align-items: center;
}

.quote_card .quote_img {
  max-height: 60px;
  max-width: 180px;
  object-fit: contain;
}

.text_wrap.is-quote {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.text_wrap.is-quote h3 {
  color: #1a1a1a;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.text_wrap.is-quote .text-size-m {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quote_card .text-size-s {
  color: #999;
  font-size: 14px;
  line-height: 1.4;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

/* Customer Detail Page */
.customer-story {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.customer-header {
  text-align: center;
  margin-bottom: 48px;
}

.customer-title {
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 24px 0;
  line-height: 1.2;
}

.customer-logo {
  max-height: 80px;
  max-width: 240px;
  object-fit: contain;
}

.customer-image-wrapper {
  margin-bottom: 48px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.customer-hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.customer-content {
  max-width: 800px;
  margin: 0 auto;
}

.customer-quote {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 48px;
  border-radius: 20px;
  margin: 0 0 48px 0;
  position: relative;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.customer-quote::before {
  content: """;
  position: absolute;
  top: 20px;
  left: 40px;
  font-size: 80px;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.customer-quote p {
  font-size: 24px;
  line-height: 1.6;
  font-weight: 500;
  margin: 0 0 24px 0;
  position: relative;
  z-index: 1;
}

.customer-cite {
  display: block;
  text-align: right;
  font-style: normal;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.customer-cite strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.customer-company {
  font-size: 16px;
  opacity: 0.9;
}

.customer-story-body {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

.customer-story-body h2 {
  font-size: 32px;
  font-weight: 600;
  margin: 40px 0 20px 0;
  color: #1a1a1a;
}

.customer-story-body h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 32px 0 16px 0;
  color: #1a1a1a;
}

.customer-story-body p {
  margin-bottom: 24px;
}

.customer-story-body ul,
.customer-story-body ol {
  margin: 24px 0;
  padding-left: 32px;
}

.customer-story-body li {
  margin-bottom: 12px;
}

.customer-story-body blockquote {
  border-left: 4px solid #667eea;
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
  .quote_card {
    padding: 24px;
    min-height: auto;
  }
  
  .customer-title {
    font-size: 32px;
  }
  
  .customer-quote {
    padding: 32px 24px;
  }
  
  .customer-quote p {
    font-size: 20px;
  }
  
  .customer-story-body {
    font-size: 16px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .quote_card {
    background: #2a2a2a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
  
  .quote_card.hover:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  }
  
  .text_wrap.is-quote h3 {
    color: #f0f0f0;
  }
  
  .text_wrap.is-quote .text-size-m {
    color: #b0b0b0;
  }
  
  .quote_card .text-size-s {
    color: #888;
    border-top-color: #444;
  }
  
  .customer-title {
    color: #f0f0f0;
  }
  
  .customer-story-body {
    color: #d0d0d0;
  }
  
  .customer-story-body h2,
  .customer-story-body h3 {
    color: #f0f0f0;
  }
}