/* ==========================================================
   Home — Quote of the Day (scoped under .qx)
   Split card: orange label panel + white quote body.
   Logo palette: royal blue + orange.
   ========================================================== */
.qx {
  --qx-blue: #0d4f9c;
  --qx-blue-deep: #083a75;
  --qx-orange: #f08a1c;
  --qx-sky: #eaf2fb;
  --qx-muted: #6b7687;
  background: #fff;
  padding: 40px 0;
}
.qx-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}
.qx-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5ebf3;
  box-shadow: 0 30px 60px -35px rgba(8, 58, 117, .35);
}

/* left label panel */
.qx-side {
  position: relative;
  overflow: hidden;
  background: var(--qx-orange);
  color: #fff;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.qx-side::before,
.qx-side::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .25);
}
.qx-side::before { width: 220px; height: 220px; right: -110px; bottom: -110px; }
.qx-side::after { width: 140px; height: 140px; right: -70px; bottom: -70px; }
.qx-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #fff;
  color: var(--qx-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.qx-label {
  position: relative;
  z-index: 1;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* quote body */
.qx-body {
  position: relative;
  padding: 44px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  background:
    radial-gradient(circle at 100% 0%, var(--qx-sky) 0, transparent 45%),
    #fff;
}
.qx-watermark {
  position: absolute;
  right: 28px;
  top: -18px;
  font-family: Georgia, serif;
  font-size: 200px;
  line-height: 1;
  color: rgba(13, 79, 156, .07);
  pointer-events: none;
}
.qx-text {
  position: relative;
  margin: 0;
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--qx-blue-deep);
}
.qx-author {
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--qx-blue);
}
.qx-author small {
  font-size: 13px;
  font-weight: 600;
  color: var(--qx-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-right: 4px;
}
.qx-line { width: 44px; height: 3px; border-radius: 3px; background: var(--qx-orange); flex: none; }

@media (max-width: 767px) {
  .qx { padding: 28px 0; }
  .qx-wrap { padding: 0 16px; }
  .qx-card { grid-template-columns: 1fr; border-radius: 22px; }
  .qx-side { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 20px 22px; }
  .qx-icon { width: 48px; height: 48px; font-size: 20px; border-radius: 14px; }
  .qx-label { font-size: 18px; }
  .qx-label br { display: none; }
  .qx-body { padding: 28px 24px 32px; }
  .qx-watermark { font-size: 140px; right: 12px; }
}
