/* Ezvisa question-pillar guide UI */
.eq-guide {
  --eq-teal: #14839d;
  --eq-teal-dark: #0f6b80;
  --eq-navy: #082f3a;
  --eq-gold: #e5a52f;
  --eq-muted: #5c6b72;
  --eq-border: #dcebef;
  --eq-bg: #f4fafc;
  padding: clamp(48px, 7vw, 88px) 0;
  background: linear-gradient(180deg, #f4fafc 0%, #fff 38%, #f7fafb 100%);
  overflow: hidden;
}

.eq-guide__head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 42px;
}

.eq-guide__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--eq-teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.eq-guide__title {
  font-family: "Work Sans", Roboto, sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--eq-navy);
  line-height: 1.15;
  margin: 0 0 14px;
}

.eq-guide__lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--eq-muted);
  margin: 0;
}

.eq-guide__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.eq-guide__side {
  position: sticky;
  top: 100px;
}

.eq-guide__nav {
  background: #fff;
  border: 1px solid var(--eq-border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 14px 36px rgba(8, 47, 58, 0.06);
}

.eq-guide__nav-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eq-teal);
  margin-bottom: 12px;
}

.eq-guide__nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eq-guide__nav li + li {
  border-top: 1px dashed #e5eef1;
}

.eq-guide__nav a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 10px 6px;
  color: #46606b;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 10px;
  transition: 0.25s ease;
}

.eq-guide__nav a span {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  color: #8fb2bc;
}

.eq-guide__nav a:hover,
.eq-guide__nav a.is-active {
  color: var(--eq-teal-dark);
  background: rgba(20, 131, 157, 0.08);
}

.eq-guide__nav a.is-active span {
  color: var(--eq-gold);
}

.eq-guide__main {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.eq-chapter {
  position: relative;
  background: #fff;
  border: 1px solid var(--eq-border);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 10px 28px rgba(8, 47, 58, 0.05);
  scroll-margin-top: 110px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.eq-chapter:hover {
  transform: translateY(-4px);
  border-color: #9ecfda;
  box-shadow: 0 20px 44px rgba(8, 47, 58, 0.1);
}

.eq-chapter__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.eq-chapter__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(140deg, #14839d, #0d5b70);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(15, 107, 128, 0.28);
}

.eq-chapter h3 {
  margin: 0;
  font-family: "Work Sans", Roboto, sans-serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--eq-navy);
  line-height: 1.3;
}

.eq-chapter p {
  font-size: 15.5px;
  line-height: 1.8;
  color: #3d4a56;
  margin: 0 0 14px;
}

.eq-chapter p:last-child {
  margin-bottom: 0;
}

.eq-chapter ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #3d4a56;
}

.eq-chapter li {
  margin-bottom: 8px;
  line-height: 1.65;
  font-size: 15px;
}

.eq-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.eq-panel__card {
  background: linear-gradient(160deg, #f0f9fb, #fff);
  border: 1px solid rgba(20, 131, 157, 0.16);
  border-radius: 16px;
  padding: 22px;
}

.eq-panel__card h4 {
  margin: 0 0 12px;
  color: var(--eq-navy);
  font-size: 17px;
}

.eq-panel__card ol,
.eq-panel__card ul {
  margin: 0;
  padding-left: 18px;
  color: #46606b;
}

.eq-panel__card li {
  margin-bottom: 8px;
  line-height: 1.6;
  font-size: 14.5px;
}

.eq-sources {
  background: #073e4c;
  color: #fff;
  border-radius: 18px;
  padding: 26px 28px;
}

.eq-sources h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 22px;
}

.eq-sources p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 14px;
  line-height: 1.7;
}

.eq-sources a {
  display: inline-flex;
  margin: 0 8px 8px 0;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.eq-sources a:hover {
  border-color: var(--eq-gold);
  color: var(--eq-gold) !important;
}

.eq-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.eq-related a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--eq-border);
  color: var(--eq-teal-dark) !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: 0.25s ease;
}

.eq-related a:hover {
  border-color: var(--eq-teal);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 107, 128, 0.12);
}

.eq-faq {
  margin-top: 8px;
}

.eq-faq__item {
  border-bottom: 1px solid var(--eq-border);
  background: #fff;
}

.eq-faq__item:first-child {
  border-radius: 16px 16px 0 0;
}

.eq-faq__item:last-child {
  border-radius: 0 0 16px 16px;
  border-bottom: none;
}

.eq-faq__item summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: #143f49;
  font-size: 15.5px;
}

.eq-faq__item summary::-webkit-details-marker {
  display: none;
}

.eq-faq__item summary i {
  transition: 0.25s ease;
  color: var(--eq-teal);
}

.eq-faq__item[open] summary i {
  transform: rotate(45deg);
}

.eq-faq__item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--eq-muted);
  line-height: 1.75;
  font-size: 15px;
}

.eq-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 10px;
  padding: 28px 30px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f6b80, #14839d 55%, #1a9bb5);
  color: #fff;
}

.eq-cta h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 24px;
}

.eq-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.eq-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.eq-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none !important;
}

.eq-cta a.eq-cta--primary {
  background: #fff;
  color: #0f6b80 !important;
}

.eq-cta a.eq-cta--ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff !important;
}

.eq-guide--anim .eq-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 0.75, 0.3, 1);
}

.eq-guide--anim .eq-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 991px) {
  .eq-guide__layout {
    grid-template-columns: 1fr;
  }

  .eq-guide__side {
    position: static;
  }

  .eq-guide__nav ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .eq-guide__nav li + li {
    border-top: none;
  }

  .eq-guide__nav a {
    border: 1px solid var(--eq-border);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12.5px;
  }

  .eq-panel,
  .eq-cta {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eq-chapter,
  .eq-related a,
  .eq-guide--anim .eq-reveal {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
