.section-quotes-main {
  --psq-radius-xl: 32px;
  --psq-radius-lg: 24px;
  --psq-shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.14);
  --psq-shadow-card: 0 18px 50px rgba(0, 0, 0, 0.10);
  --psq-gradient-main: linear-gradient(135deg, #0d6efd 0%, #6f42c1 58%, #d63384 100%);

  background:
    radial-gradient(circle at top left, rgba(13, 110, 253, 0.14), transparent 36%),
    radial-gradient(circle at bottom right, rgba(214, 51, 132, 0.12), transparent 34%),
    var(--bs-body-bg);
  color: var(--bs-body-color);
  padding-bottom: 2.9rem;
}

.psq-header {
  background: var(--psq-gradient-main);
  color: #fff;
}

.psq-back-btn {
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.psq-shell {
  border-radius: var(--psq-radius-xl);
  background: rgba(var(--bs-body-bg-rgb), 0.88);
  border: 1px solid rgba(128, 128, 128, 0.18);
  box-shadow: var(--psq-shadow-soft);
  backdrop-filter: blur(18px);
  overflow: hidden;
  padding: 2rem 1rem;
}

[data-bs-theme="dark"] .psq-shell {
  background: rgba(20, 20, 27, 0.88);
}

.psq-section-header {
  padding: clamp(28px, 5vw, 48px) clamp(24px, 5vw, 48px) 0;
}

.psq-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bs-primary);
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.psq-title {
  max-width: 860px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.002rem;
  margin-bottom: 10px;
}

.psq-subtitle {
  max-width: 720px;
  color: var(--bs-secondary-color);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  margin-bottom: 18px;
}

.psq-intro {
  max-width: 780px;
  color: var(--bs-secondary-color);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.psq-theme-tools {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.psq-theme-buttons {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.psq-carousel-wrap {
  padding: 1rem;
}

.psq-slide {
  min-height: 500px;
  display: flex;
  align-items: stretch;
}

.psq-quote-card {
  width: 100%;
  min-height: 400px;
  border-radius: var(--psq-radius-lg);
  padding: clamp(28px, 5vw, 56px);
  background:
    linear-gradient(135deg, rgba(13, 110, 253, 0.13), rgba(111, 66, 193, 0.10)),
    var(--bs-tertiary-bg);
  border: 1px solid rgba(128, 128, 128, 0.18);
  box-shadow: var(--psq-shadow-card);
  display: flex;
  flex-direction: column;
}

.psq-language-pill {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.12);
  color: var(--bs-primary);
  border: 1px solid rgba(13, 110, 253, 0.18);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.psq-quote-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.psq-quote-text {
  max-width: 1180px;
  margin: 0 auto 34px;
  font-size: clamp(2rem, 5.5vw, 5.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.014rem;
}

.psq-author {
  display: grid;
  grid-template-columns: minmax(42px, 1fr) auto minmax(42px, 1fr);
  align-items: center;
  gap: 18px;
  width: min(640px, 100%);
  margin: 0 auto;
  color: var(--bs-secondary-color);
  font-weight: 850;
  letter-spacing: 0.02em;
}

.psq-author::before,
.psq-author::after {
  content: "";
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--bs-secondary-color-rgb), 0.55)
  );
}

.psq-author::after {
  background: linear-gradient(
    90deg,
    rgba(var(--bs-secondary-color-rgb), 0.55),
    transparent
  );
}

.psq-author-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.psq-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: clamp(28px, 4vw, 44px);
}

.psq-verb-focus {
  flex: 0 1 520px;
  padding: 15px 18px;
  border-radius: 18px;
  background: rgba(25, 135, 84, 0.10);
  border: 1px solid rgba(25, 135, 84, 0.18);
  color: var(--bs-body-color);
  font-size: 0.98rem;
}

.psq-verb-focus strong {
  color: var(--bs-success);
}

.psq-translation-btn {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  white-space: nowrap;
}

.psq-translation-slot {
  width: 100%;
  height: 90px;
  margin-top: 18px;
  overflow: hidden;
}

.psq-translation-collapse {
  width: 100%;
}

.psq-translation-card {
  width: 100%;
  min-height: 90px;
  padding: 10px 20px;
  border-radius: 20px;
  background: rgba(13, 110, 253, 0.08);
  border: 1px solid rgba(13, 110, 253, 0.16);
  color: var(--bs-secondary-color);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  font-weight: 650;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.psq-carousel-footer {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .psq-carousel-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.psq-indicators {
  position: static;
  margin: 0;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.psq-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background-color: var(--bs-primary);
  opacity: 0.25;
  transition: width 0.2s ease, opacity 0.2s ease;
}

.psq-indicators .active {
  width: 34px;
  opacity: 1;
}

.psq-nav-buttons {
  display: flex;
  gap: 12px;
}

.psq-slide-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: var(--bs-primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(13, 110, 253, 0.32);
}

.psq-slide-btn:hover {
  background: #0b5ed7;
  color: #fff;
}

.psq-keyboard-note {
  padding: 0 clamp(24px, 5vw, 48px) clamp(28px, 5vw, 42px);
  color: var(--bs-secondary-color);
  font-size: 0.96rem;
}

.psq-keyboard-note kbd {
  border-radius: 8px;
  padding: 4px 8px;
}

@media (max-width: 767.98px) {
  .psq-slide {
    min-height: auto;
  }

  .psq-quote-card {
    min-height: 430px;
  }

  .psq-language-pill {
    align-self: flex-start;
  }

  .psq-quote-main {
    text-align: center;
  }

  .psq-author {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .psq-author::before,
  .psq-author::after {
    width: 90px;
    margin: 0 auto;
  }

  .psq-author-name {
    justify-content: center;
    white-space: normal;
  }

  .psq-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .psq-verb-focus {
    flex: none;
    width: 100%;
  }

  .psq-translation-btn {
    width: 100%;
  }

  .psq-translation-slot {
    height: 128px;
  }
}

