/* Q-Helix client-brief homepage additions: scoped to .qh-guide */
.qh .qh-guide {
  --qh-navy: #193467;
  --qh-cyan: #06B1CC;
  --qh-blue: #057BA9;
  --qh-orange: #F47726;
  --qh-ice: #E8F5FD;
  color: #263746
}

.qh .qh-guide .qh-guide-section {
  padding: clamp(2.8rem, 5vw, 4.8rem) 0;
  border-bottom: 1px solid #e0e9f0;
  margin: 0
}

.qh .qh-guide .qh-guide-container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto
}

.qh .qh-guide .qh-guide-eyebrow {
  color: var(--qh-blue);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .78rem;
  font-weight: 800
}

.qh .qh-guide h2 {
  font-size: clamp(1.75rem, 2.7vw, 2.45rem);
  color: var(--qh-navy);
  margin: .35rem 0 1.1rem
}

.qh .qh-guide h3 {
  font-size: 1.12rem;
  color: var(--qh-navy);
  margin: .6rem 0
}

.qh .qh-guide p {
  line-height: 1.65
}

.qh .qh-guide .qh-guide-lead {
  max-width: 75ch;
  color: #466075;
  margin-bottom: 1.7rem
}

.qh .qh-guide .qh-guide-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(4, minmax(0, 1fr))
}

.qh .qh-guide .qh-guide-card {
  background: #fff;
  border: 1px solid #d5e4ef;
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 7px 23px #19346709;
  min-width: 0
}

.qh .qh-guide .qh-guide-card p {
  margin: .45rem 0;
  font-size: .94rem
}

.qh .qh-guide .qh-guide-card ul {
  padding-left: 1.2rem;
  margin: .7rem 0 0;
  line-height: 1.6;
  font-size: .92rem
}

.qh .qh-guide .qh-guide-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--qh-ice);
  border-radius: 13px;
  color: var(--qh-navy);
  font-size: 1.5rem
}

.qh .qh-guide .qh-guide-tint {
  background: #f0f8fc
}

.qh .qh-guide .qh-guide-partners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem
}

.qh .qh-guide .qh-guide-partner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  background: #fff;
  border: 1px solid #d3e4ee;
  border-radius: 12px;
  color: var(--qh-navy);
  text-decoration: none;
  font-weight: 750;
  font-size: .95rem;
  line-height: 1.35;
  transition: box-shadow .2s
}

.qh .qh-guide .qh-guide-partner:hover {
  box-shadow: 0 6px 18px #19346720;
  border-color: var(--qh-cyan)
}

.qh .qh-guide .qh-guide-counter {
  font-size: 2.6rem;
  display: block;
  line-height: 1.1;
  color: var(--qh-navy);
  font-weight: 800
}

.qh .qh-guide .qh-guide-help {
  font-size: .81rem;
  color: #607286
}

.qh .qh-guide .qh-guide-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  border-top: 5px solid var(--qh-cyan)
}

.qh .qh-guide .qh-guide-tile:hover h3 {
  text-decoration: underline
}

.qh .qh-guide .qh-guide-step {
  display: block;
  color: var(--qh-orange);
  font-size: 2.3rem;
  font-weight: 850
}

.qh .qh-guide .qh-guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  color: var(--qh-navy) !important;
  background: var(--qh-orange);
  font-weight: 800;
  text-decoration: none;
  margin-top: 1.4rem
}

.qh .qh-guide .qh-guide-button:hover {
  background: #ff964d
}

.qh .qh-guide .qh-guide-stories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem
}

.qh .qh-guide .qh-guide-video {
  display: grid;
  place-items: center;
  aspect-ratio: 16/9;
  background: linear-gradient(140deg, #193467, #057BA9);
  color: #fff;
  border-radius: 10px;
  text-align: center;
  padding: 1rem
}

.qh .qh-guide .qh-guide-video strong {
  font-size: 1.08rem
}

.qh .qh-guide .qh-guide-audiences {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap
}

.qh .qh-guide .qh-guide-audiences a {
  border: 1px solid #b7d9eb;
  background: white;
  border-radius: 999px;
  padding: .7rem 1.05rem;
  color: var(--qh-navy);
  font-weight: 750;
  text-decoration: none
}

.qh .qh-guide .qh-guide-audiences a:hover {
  background: var(--qh-ice)
}

.qh .qh-guide .qh-guide-faq {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap
}

@media(max-width:1000px) {
  .qh .qh-guide .qh-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:650px) {
  .qh .qh-guide .qh-guide-partners {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .qh .qh-guide .qh-guide-grid,
  .qh .qh-guide .qh-guide-stories {
    grid-template-columns: 1fr
  }

  .qh .qh-guide .qh-guide-container {
    width: calc(100% - 30px)
  }
}

/* Q-Helix V4: shared reference-card aesthetic (matching the four cooperation areas). */
.qh .qh-guide .qh-guide-card,
.qh .qh-guide .qh-guide-partner {
  background: #fff;
  border: 1px solid #cfe0ee;
  border-top: 5px solid #06B1CC;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(25, 52, 103, .045);
  padding: 1.8rem 1.65rem;
  min-width: 0;
  overflow: hidden;
  color: #193467;
}

.qh .qh-guide .qh-guide-card:nth-child(4n+2),
.qh .qh-guide .qh-guide-partner:nth-child(4n+2) {
  border-top-color: #35A755
}

.qh .qh-guide .qh-guide-card:nth-child(4n+3),
.qh .qh-guide .qh-guide-partner:nth-child(4n+3) {
  border-top-color: #F47726
}

.qh .qh-guide .qh-guide-card:nth-child(4n),
.qh .qh-guide .qh-guide-partner:nth-child(4n) {
  border-top-color: #057BA9
}

.qh .qh-guide .qh-guide-card h3 {
  color: #193467;
  font-weight: 750;
  font-size: clamp(1.15rem, 1.4vw, 1.45rem);
  line-height: 1.3
}

.qh .qh-guide .qh-guide-card p,
.qh .qh-guide .qh-guide-card li {
  color: #263746;
  line-height: 1.7
}

.qh .qh-guide .qh-guide-card:hover,
.qh .qh-guide .qh-guide-partner:hover {
  box-shadow: 0 10px 24px rgba(25, 52, 103, .1)
}

.qh .qh-guide .qh-guide-partners {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem
}

.qh .qh-guide .qh-guide-partner {
  min-height: 218px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  text-decoration: none;
  text-align: center
}

.qh .qh-guide .qh-guide-partner-logo {
  width: 100%;
  max-width: 185px;
  height: 93px;
  object-fit: contain;
  display: block;
  margin: 0 auto .3rem
}

.qh .qh-guide .qh-guide-partner-name {
  font-size: .93rem;
  line-height: 1.35;
  color: #193467
}

.qh .qh-guide .qh-guide-partner-country {
  font-size: .82rem;
  color: #057BA9;
  font-weight: 550
}

.qh .qh-guide .qh-guide-tile {
  height: 100%;
  text-decoration: none
}

.qh .qh-guide .qh-guide-video {
  border-radius: 9px
}

@media(max-width:900px) {
  .qh .qh-guide .qh-guide-partners {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

@media(max-width:650px) {
  .qh .qh-guide .qh-guide-partners {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .qh .qh-guide .qh-guide-card {
    padding: 1.35rem
  }
}

@media(max-width:390px) {
  .qh .qh-guide .qh-guide-partners {
    grid-template-columns: 1fr
  }
}

.qh .qh-home-editorial-grid {
  display: grid !important;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1.3rem !important;
  align-items: stretch
}

.qh .qh-home-editorial-grid article.qh-news {
  border-top: 3px solid #06b1cc !important;
  border-radius: 12px !important
}

.qh .qh-home-editorial-grid article.qh-news:nth-child(2) {
  border-color: #35a755 !important
}

.qh .qh-home-editorial-grid article.qh-news:nth-child(3) {
  border-color: #f47726 !important
}

.qh .qh-home-editorial-grid .qh-nimg img {
  aspect-ratio: 16/9 !important
}

.qh .qh-home-editorial-grid .qh-nbody {
  padding: 18px !important
}

.qh .qh-home-origin {
  font-size: .78rem !important;
  line-height: 1.5;
  margin: 2px 0 10px !important;
  color: #60768a
}

.qh .qh-home-origin a {
  color: #057ba9;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px
}

.qh .qh-home-editorial-grid .qh-home-featured h3 {
  font-size: 1.5rem !important
}

.qh #qh-learnings {
  background: linear-gradient(130deg, #e8f5fd, #fff 68%);
  padding: 70px 0 75px;
  overflow: hidden;
  margin: 45px 0
}

.qh .qh-learnings-inner {
  max-width: 1160px;
  padding: 0 24px;
  margin: 0 auto
}

.qh .qh-learnings-eyebrow {
  font-size: .84rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #057ba9;
  font-weight: 800
}

.qh #qh-learnings h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  color: #193467;
  margin: 10px 0
}

.qh .qh-learnings-lead {
  max-width: 70ch;
  color: #3d5773
}

.qh .qh-learnings-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px
}

.qh .qh-learning-card {
  border: 1px solid #cfe0ee;
  border-top: 5px solid #06b1cc;
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 35px #19346714
}

.qh .qh-learning-card:nth-child(2) {
  border-top-color: #f47726
}

.qh .qh-learning-stage {
  height: 225px;
  position: relative;
  background: radial-gradient(circle at 32% 45%, #2b75a6, #193467 65%);
  overflow: hidden;
  display: grid;
  place-items: center
}

.qh .qh-learning-card:nth-child(2) .qh-learning-stage {
  background: radial-gradient(circle at 32% 45%, #168f91, #193467 70%)
}

.qh .qh-learning-orbit {
  width: 155px;
  height: 155px;
  border-radius: 50%;
  border: 2px dashed #a3e9f5;
  display: grid;
  place-items: center;
  animation: qhOrbit 14s linear infinite;
  position: relative
}

.qh .qh-learning-orbit:before,
.qh .qh-learning-orbit:after {
  content: '';
  position: absolute;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  background: #f47726;
  top: -11px;
  left: calc(50% - 11px);
  box-shadow: 0 0 22px #f47726aa
}

.qh .qh-learning-orbit:after {
  top: auto;
  bottom: -11px;
  background: #35a755;
  box-shadow: 0 0 22px #35a755aa
}

.qh .qh-learning-core {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  animation: qhCounterOrbit 14s linear infinite
}

.qh .qh-learning-spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: .7;
  animation: qhSpark 3s ease-in-out infinite alternate
}

.qh .qh-learning-spark:nth-child(2) {
  left: 16%;
  top: 22%
}

.qh .qh-learning-spark:nth-child(3) {
  right: 20%;
  bottom: 20%;
  animation-delay: 1s
}

.qh .qh-learning-stage .qh-learning-label {
  position: absolute;
  bottom: 14px;
  left: 18px;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #cceefa
}

.qh .qh-learning-content {
  padding: 25px
}

.qh .qh-learning-content h3 {
  font-size: 1.45rem;
  color: #193467;
  margin: 0 0 10px
}

.qh .qh-learning-content p {
  line-height: 1.65
}

.qh .qh-learning-cta {
  background: #f47726;
  color: #193467 !important;
  display: inline-flex;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  padding: 12px 22px;
  margin-top: 10px
}

.qh .qh-learning-cta:hover {
  background: #ffab6f
}

.qh .qh-learnings-controls {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px
}

.qh .qh-learnings-controls button {
  border: 1px solid #193467;
  background: transparent;
  color: #193467;
  border-radius: 999px;
  padding: 7px 18px;
  cursor: pointer
}

.qh #qh-learnings.qh-motion-paused * {
  animation-play-state: paused !important
}

@keyframes qhOrbit {
  to {
    transform: rotate(360deg)
  }
}

@keyframes qhCounterOrbit {
  to {
    transform: rotate(-360deg)
  }
}

@keyframes qhSpark {
  to {
    opacity: .2;
    transform: scale(1.6)
  }
}

@media(max-width:760px) {
  .qh .qh-home-editorial-grid {
    grid-template-columns: 1fr !important
  }

  .qh .qh-learnings-cards {
    grid-template-columns: 1fr
  }
}

@media(prefers-reduced-motion:reduce) {
  .qh #qh-learnings * {
    animation: none !important
  }
}
