/* PROGEN navigációs modul - elkülönített stílusok (nincs globális reset) */

#progen-guide {
  --pg-orange: #ef7d00;
  --pg-white: #ffffff;
  --pg-darkgrey: #4d4d4d;
  --pg-text: #333333;
  --pg-beige: #f2ece1;
  --pg-radius-question: 0 40px 40px 40px;
  --pg-radius-answer: 30px 0 30px 30px;
  --pg-shadow: 0 2px 10px rgba(77, 77, 77, 0.12);
  --pg-font: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --pg-gap: 12px;
  --pg-pad-y: 16px;
  --pg-pad-x: 22px;

  background: var(--pg-beige);
  font-family: var(--pg-font);
  color: var(--pg-text);
  padding: 36px 0;
}

#progen-guide *,
#progen-guide *::before,
#progen-guide *::after {
  box-sizing: border-box;
}

#progen-guide .pg-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

#progen-guide .pg-question-row {
  display: flex;
  align-items: flex-start;
  gap: var(--pg-gap);
}

#progen-guide .pg-mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pg-white);
  box-shadow: var(--pg-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

#progen-guide .pg-mark svg {
  width: 20px;
  height: 20px;
  display: block;
}

#progen-guide .pg-question {
  background: var(--pg-white);
  color: var(--pg-text);
  border-radius: var(--pg-radius-question);
  box-shadow: var(--pg-shadow);
  padding: var(--pg-pad-y) var(--pg-pad-x);
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
  max-width: 100%;
}

#progen-guide .pg-answers {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

#progen-guide .pg-answers li {
  max-width: 100%;
  display: flex;
  justify-content: flex-end;
}

#progen-guide .pg-answer {
  display: inline-block;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  background: var(--pg-orange);
  color: var(--pg-text);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: var(--pg-radius-answer);
  box-shadow: var(--pg-shadow);
  max-width: 100%;
  overflow-wrap: break-word;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

#progen-guide .pg-answer:hover,
#progen-guide .pg-answer:active {
  background: var(--pg-darkgrey);
  color: var(--pg-white);
}

#progen-guide .pg-answer:focus-visible {
  outline: 3px solid var(--pg-darkgrey);
  outline-offset: 4px;
}

/* Fallback régebbi böngészőkre */
#progen-guide .pg-answer:focus {
  outline: 3px solid var(--pg-darkgrey);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  #progen-guide {
    padding: 24px 0;
  }

  #progen-guide .pg-question {
    font-size: 20px;
  }

  #progen-guide .pg-answers li {
    width: 100%;
  }

  #progen-guide .pg-answer {
    display: block;
    width: 100%;
    text-align: left;
  }
}

@media (min-width: 641px) {
  #progen-guide .pg-question {
    font-size: 22px;
    max-width: 640px;
  }

  #progen-guide .pg-answer {
    max-width: 640px;
  }
}

#progen-guide .pg-controls {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

#progen-guide .pg-control {
  background: transparent;
  border: 2px solid var(--pg-darkgrey);
  color: var(--pg-darkgrey);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

#progen-guide .pg-control:hover {
  background: var(--pg-darkgrey);
  color: var(--pg-white);
}

#progen-guide .pg-control:focus-visible,
#progen-guide .pg-control:focus {
  outline: 3px solid var(--pg-orange);
  outline-offset: 3px;
}
