/* ==========================================================
   Várakozási engedélyek kiadása – lenyíló menü és tartalom
   ========================================================== */

/* ---- Lenyíló főmenü (details/summary) ---- */
.menu-group { margin: 0; }
.menu-group > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  user-select: none;
}
.menu-group > summary::-webkit-details-marker { display: none; }
.menu-group > summary::after {
  content: "";
  flex: none;
  width: .55rem;
  height: .55rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.menu-group[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.menu-group > summary:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

.submenu {
  display: flex;
  flex-direction: column;
  background: #e6eee3;
  border-bottom: 1px solid #70ad47;
  padding: .25rem 0;
}
.sub-link {
  display: block;
  padding: .45rem 1rem .45rem 1.75rem;
  font-size: .875rem;
  line-height: 1.25rem;
  color: #344118;
  border-left: 4px solid transparent;
}
.sub-link:hover { background: #d3e4c7; }
.sub-link.active {
  font-weight: 700;
  background: #fff;
  border-left-color: #4b7000;
}
.submenu-label {
  padding: .6rem 1rem .2rem 1.75rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #4b7000;
}

/* ---- Tartalom tipográfia (a Tailwind reset után) ---- */
.pk { font-size: .9375rem; line-height: 1.6; color: #1f2937; padding-bottom: 3.5rem; }
.pk h2 { font-size: 1.15rem; font-weight: 700; color: #344118; margin: 1.75rem 0 .6rem; padding-bottom: .25rem; border-bottom: 2px solid #e6eee3; }
.pk h3 { font-size: 1.02rem; font-weight: 700; color: #344118; margin: 1.25rem 0 .5rem; }
.pk h4 { font-size: 1rem; font-weight: 700; margin: 1rem 0 .4rem; }
.pk > :first-child, .pk section > :first-child { margin-top: 0; }
.pk p { margin: 0 0 .75rem; }
.pk ul { list-style: disc; padding-left: 1.4rem; margin: 0 0 .9rem; }
.pk ul ul { list-style: circle; margin: .35rem 0 .2rem; }
.pk ol { list-style: decimal; padding-left: 1.4rem; margin: 0 0 .9rem; }
.pk li { margin-bottom: .3rem; }
.pk strong, .pk b { font-weight: 700; }
.pk a:not(.pk-btn):not(.pk-card) { color: #4b7000; text-decoration: underline; text-underline-offset: 2px; }
.pk a:not(.pk-btn):not(.pk-card):hover { color: #344118; }
.pk a[target="_blank"]:not(.pk-btn):not(.pk-card)::after { content: " \2197"; font-size: .8em; text-decoration: none; display: inline-block; }

.pk table { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; font-size: .875rem; }
.pk th, .pk td { border: 1px solid #c9dbbd; padding: .45rem .55rem; text-align: left; vertical-align: top; }
.pk thead td, .pk thead th { background: #e6eee3; }
.pk-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.pk-doclinks { display: flex; flex-direction: column; gap: .35rem; margin: .25rem 0 1rem; }

.pk-notice {
  background: #f3f8ec;
  border-left: 5px solid #85c600;
  padding: .85rem 1rem;
  margin: 0 0 1.25rem;
}
.pk-notice p:last-child { margin-bottom: 0; }

.pk-actions {
  margin-top: 1.75rem;
  padding: 1rem;
  background: #e6eee3;
  border-radius: .25rem;
}
.pk-actions-title { font-weight: 700; color: #344118; margin-bottom: .6rem; }
.pk-actions-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.pk-btn {
  display: inline-block;
  background: #679a00;
  color: #fff;
  font-weight: 700;
  font-size: .875rem;
  padding: .5rem .9rem;
  border-radius: .25rem;
}
.pk-btn:hover { background: #4b7000; }

.pk-cards { display: grid; grid-template-columns: 1fr; gap: .75rem; margin: .5rem 0 1rem; }
@media (min-width: 640px) { .pk-cards { grid-template-columns: 1fr 1fr; } }
.pk-card {
  display: block;
  border: 1px solid #c9dbbd;
  border-top: 4px solid #679a00;
  padding: .85rem 1rem;
  background: #fff;
}
.pk-card:hover { background: #f3f8ec; }
.pk-card-title { display: block; font-weight: 700; color: #344118; margin-bottom: .35rem; }
.pk-card-text { display: block; font-size: .875rem; line-height: 1.45; color: #374151; }
.pk-card-more { display: block; margin-top: .5rem; font-size: .8rem; font-weight: 700; color: #4b7000; }

.pk-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; }
.pk-section { scroll-margin-top: 1rem; }
.pk-section + .pk-section { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 4px solid #e6eee3; }
.pk-source { margin-top: 2rem; font-size: .75rem; color: #6b7280; }

/* Az eredeti oldalon h3-ba tett ügyindító linkek gombként */
.pk .pk-actions-list { margin: 1.5rem 0 1rem; }
.pk .pk-actions-list h3 { margin: 0; }
.pk .pk-actions-list h3 > a:not(.x) {
  display: inline-block; background: #679a00; color: #fff; text-decoration: none;
  font-size: .875rem; padding: .5rem .9rem; border-radius: .25rem;
}
.pk .pk-actions-list h3 > a:not(.x):hover { background: #4b7000; color: #fff; }
.pk .pk-actions-list h3 > a[target="_blank"]:not(.pk-btn):not(.pk-card)::after { content: none; }

/* Beágyazott videó (Gyermekszállításhoz) */
.pk .pk-video { margin: 0 0 1.25rem; }
.pk .pk-video iframe { display: block; width: 100%; max-width: 100%; border: 0; }
