/* Custom Quote Block Styles for Icetribe */

.quote-block {
  margin: 2rem auto; /* Keskitys auto-marginaaleilla */
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 4px solid #8A42A8; /* Violetti reunaviiva */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  position: relative;
  max-width: 90%; /* Rajoitetaan leveyttä, jotta keskitys näkyy */
}

.quote-block::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 4rem;
  color: #8A42A8; /* Violetti lainausmerkki */
  opacity: 0.3;
  font-family: 'Saira', serif;
  line-height: 1;
}

.quote-content {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2c3e50;
  font-style: italic;
  margin: 0;
  position: relative;
  z-index: 1;
}

.quote-content p {
  margin: 0 0 0.5rem 0;
}

.quote-content p:last-child {
  margin-bottom: 0;
}

.quote-author {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  color: #495057;
  font-size: 0.9rem;
  text-align: right;
}

.quote-title {
  font-weight: 500;
  color: #6c757d;
}

.quote-name {
  color: #8A42A8; /* Violetti nimi */
  font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .quote-block {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
  }
  
  .quote-block::before {
    font-size: 3rem;
    top: -5px;
    left: 10px;
  }
  
  .quote-content {
    font-size: 1rem;
  }
}

/* Alternative styles */
.quote-block.minimal {
  background: transparent;
  border-left: 3px solid #dee2e6;
  box-shadow: none;
  padding: 1rem 0 1rem 1.5rem;
}

.quote-block.highlight {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); /* Sama gradient kuin normaali */
  border-left-color: #8A42A8; /* Violetti reunaviiva */
  border-left-width: 6px; /* Paksumpi reunaviiva */
  padding: 2rem 2.5rem; /* Suuremmat marginaalit */
  font-size: 1.15rem; /* Hieman suurempi fontti */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* Vahvempi varjo */
  max-width: 95%; /* Leveämpi kuin normaalit quotet */
  margin: 2rem auto; /* Keskitetty */
}

.quote-block.highlight::before {
  font-size: 5rem; /* Suurempi lainausmerkki */
  top: -15px;
}

.quote-block.dark {
  background: linear-gradient(135deg, #343a40 0%, #495057 100%);
  border-left-color: #a463f2; /* Vaaleanvioletti dark-moodissa */
  color: #f8f9fa;
}

.quote-block.dark .quote-content {
  color: #e9ecef;
}

.quote-block.dark .quote-author {
  color: #ced4da;
}