/* Compact parent guides; modern elevated card system, custom SVG icon system, and micro-animations */
.parent-guide {
  --pg-ink: #0b3b24;
  --pg-accent: #136f38;
  --pg-accent-dark: #0d4a25;
  --pg-accent-light: #168040;
  --pg-muted: #536259;
  --pg-soft: #f0f7f2;
  --pg-soft-card: #f8faf8;
  --pg-line: rgba(19, 111, 56, 0.12);
  --pg-card-border: rgba(19, 111, 56, 0.1);
  --pg-shadow-sm: 0 2px 8px rgba(19, 111, 56, 0.04);
  --pg-shadow-md: 0 6px 18px rgba(19, 111, 56, 0.08);
  --pg-shadow-hover: 0 14px 30px -4px rgba(19, 111, 56, 0.14), 0 4px 10px rgba(0, 0, 0, 0.03);
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  padding: 18px 0 44px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.parent-guide--baku-with-kids {
  --pg-soft: #f0f7f2;
}
.parent-guide .pg-control-short { display: none; }
.parent-guide :is(h1, h2, h3, p, ol, ul) { margin: 0; }
.parent-guide :is(h1, h2, h3) {
  color: var(--pg-ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-wrap: balance;
}
.parent-guide h1 {
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.15;
  letter-spacing: -.03em;
}
.parent-guide h2 {
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.25;
  letter-spacing: -.02em;
}
.parent-guide h3 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.parent-guide a {
  color: var(--pg-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .2s ease;
}
.parent-guide a:hover { color: var(--pg-ink); }
.parent-guide :is(a, summary):focus-visible {
  outline: 3px solid var(--pg-accent);
  outline-offset: 4px;
  border-radius: 8px;
}
.parent-guide :is(section, h1)[id] { scroll-margin-top: 130px; }
.parent-guide .pg-faq details[id] { scroll-margin-top: 130px; }

/* Native shortcuts remain useful without scripts or motion. */
.pg-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.pg-quick a {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 9px 15px; border: 1px solid var(--pg-line);
  border-radius: 100px; background: #fff; color: var(--pg-ink);
  font-size: 14px; font-weight: 650; line-height: 1.35; text-decoration: none;
}
.pg-quick a:hover { background: var(--pg-soft); border-color: var(--pg-accent); }
.pg-quick a > span { color: var(--pg-accent); }
.parent-guide .pg-faq__places { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 12px 0 0; list-style: none; }
.pg-faq__places a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.parent-guide .pg-faq__empty { margin-top: 10px; color: var(--pg-muted); }
@media (max-width: 479px) {
  .pg-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-quick a { justify-content: space-between; padding-inline: 12px; }
}

/* Breadcrumbs */
.pg-breadcrumb { margin-bottom: 12px; color: var(--pg-muted); font-size: 13px; font-weight: 500; }
.pg-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; padding: 0; list-style: none; }
.pg-breadcrumb li + li::before { content: "/"; margin: 0 10px; color: #8a978e; opacity: .7; }
.pg-breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; color: var(--pg-muted); text-decoration: none; transition: color .2s ease; }
.pg-breadcrumb a:hover { color: var(--pg-accent); }

/* SVG Arrows & Micro-Animations */
.pg-ico-arrow {
  display: block;
  flex-shrink: 0;
  transition: transform .22s cubic-bezier(.34, 1.56, .64, 1);
}
.pg-arrow {
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

/* Hero */
.pg-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 8px 0 28px;
}
.pg-hero__copy { padding: 4px 0; }
.pg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px !important;
  padding: 5px 12px 5px 8px;
  border-radius: 100px;
  background: var(--pg-soft);
  color: var(--pg-accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: 1px solid rgba(19, 111, 56, 0.12);
}
.pg-eyebrow > span {
  flex: 0 0 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pg-accent);
  box-shadow: 0 0 0 3px rgba(19, 111, 56, 0.2);
  animation: pgPulse 2.4s ease-in-out infinite;
}
@keyframes pgPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: .7; }
}
.pg-hero__lead {
  max-width: 52ch;
  margin: 16px 0 20px !important;
  color: var(--pg-muted);
  font-size: 16.5px;
  line-height: 1.55;
}
.pg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

/* Hero Button Primary */
.parent-guide .pg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  max-width: 100%;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 100px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #168040 0%, #0d4a25 100%);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(19, 111, 56, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.parent-guide .pg-button:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #188d46 0%, #0a3d1e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(19, 111, 56, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.parent-guide .pg-button:active {
  color: #ffffff !important;
  transform: translateY(0) scale(.98);
  box-shadow: 0 2px 8px rgba(19, 111, 56, 0.2);
}
.parent-guide .pg-button:focus-visible {
  color: #ffffff !important;
  transform: translateY(-2px);
}
.parent-guide .pg-button:hover .pg-ico-arrow {
  transform: translate(3px, -3px);
}

/* Secondary Button in Hero */
.parent-guide .pg-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1.5px solid rgba(19, 111, 56, 0.22);
  border-radius: 100px;
  background: #ffffff;
  color: var(--pg-accent) !important;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  box-shadow: var(--pg-shadow-sm);
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.parent-guide .pg-text-link:hover {
  background: var(--pg-soft);
  border-color: var(--pg-accent);
  color: var(--pg-ink) !important;
  transform: translateY(-2px);
  box-shadow: var(--pg-shadow-md);
}
.parent-guide .pg-text-link:active {
  transform: translateY(0) scale(.98);
}
.parent-guide .pg-text-link:hover .pg-ico-arrow {
  transform: translate(3px, -3px);
}

.pg-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 18px !important;
  color: var(--pg-muted);
  font-size: 12.5px;
}
.pg-byline > span:first-child {
  font-weight: 650;
  color: var(--pg-accent);
}
.pg-byline > span + span::before {
  content: "•";
  margin-right: 14px;
  color: #a4b3a9;
}

/* Hero Art */
.pg-hero__art {
  width: 100%;
  max-width: 480px;
  justify-self: end;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 24px;
  background: var(--pg-soft);
  border: 1px solid rgba(19, 111, 56, 0.1);
  box-shadow: 0 16px 36px -10px rgba(19, 111, 56, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease;
}
.pg-hero__art:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 22px 46px -12px rgba(19, 111, 56, 0.18), 0 6px 16px rgba(0, 0, 0, 0.06);
}
.pg-hero__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .4s ease;
}
.pg-hero__art:hover img {
  transform: scale(1.02);
}

/* Table of Contents - Modern Navigation Bar */
.pg-toc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 10px 0 28px;
  padding: 8px 16px;
  border: 1px solid var(--pg-card-border);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--pg-shadow-sm);
}
.pg-toc__label {
  margin-right: 8px;
  padding-left: 6px;
  color: var(--pg-muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pg-toc a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--pg-ink);
  text-decoration: none;
  background: transparent;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.pg-toc a > span[aria-hidden] {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(19, 111, 56, 0.08);
  color: var(--pg-accent);
  font-size: 11px;
  font-weight: 700;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.pg-toc a:hover {
  background: var(--pg-soft);
  color: var(--pg-accent) !important;
  transform: translateY(-1px);
  text-decoration: none;
}
.pg-toc a:hover > span[aria-hidden] {
  background: var(--pg-accent);
  color: #fff;
  transform: scale(1.08);
}

/* Sections */
.pg-section { padding: 34px 0 0; }
.pg-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 25px;
  margin-bottom: 20px;
}
.pg-section-heading > p {
  max-width: 54ch;
  color: var(--pg-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* Places Grid & Cards */
.pg-places__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}
.pg-place {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--pg-card-border);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: var(--pg-shadow-sm);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease, border-color .25s ease;
  min-width: 0;
}
.pg-place:hover, .pg-place:focus-within {
  transform: translateY(-4px);
  border-color: rgba(19, 111, 56, 0.28);
  box-shadow: var(--pg-shadow-hover);
}
.parent-guide .pg-place__link {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: start;
  gap: 12px 18px;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: 14px;
}
.pg-place__image {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
  background: var(--tint-turf-050);
  border: 1px solid rgba(19, 111, 56, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.pg-place__image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.pg-place:hover .pg-place__image > img,
.pg-place:focus-within .pg-place__image > img {
  transform: scale(1.06);
}
.pg-place__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  background: linear-gradient(135deg, var(--tint-turf-050) 0%, var(--tint-turf-100) 100%);
}
.pg-place__placeholder img {
  opacity: .5;
  transition: transform .3s ease, opacity .3s ease;
}
.pg-place:hover .pg-place__placeholder img {
  opacity: .8;
  transform: scale(1.08);
}
.pg-place__copy {
  padding: 0;
  min-width: 0;
  position: relative;
}
.pg-place__copy h3 {
  position: relative;
  margin-bottom: 6px;
  padding-right: 36px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--pg-ink);
  transition: color .2s ease;
}
.pg-place:hover .pg-place__copy h3,
.pg-place:focus-within .pg-place__copy h3 {
  color: var(--pg-accent);
}

/* Elegant Place Arrow Badge */
.pg-place__arrow {
  position: absolute;
  right: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(19, 111, 56, 0.06);
  border: 1.5px solid rgba(19, 111, 56, 0.14);
  color: var(--pg-accent);
  box-shadow: 0 2px 6px rgba(19, 111, 56, 0.04);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background-color .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease;
}
.pg-place:hover .pg-place__arrow,
.pg-place:focus-within .pg-place__arrow {
  background: linear-gradient(135deg, #168040 0%, #0d4a25 100%);
  border-color: transparent;
  color: #ffffff !important;
  transform: translate(2px, -2px) scale(1.08);
  box-shadow: 0 6px 16px rgba(19, 111, 56, 0.28);
}
.pg-place:hover .pg-place__arrow .pg-ico-arrow,
.pg-place:focus-within .pg-place__arrow .pg-ico-arrow {
  transform: translate(1px, -1px);
}

.pg-place__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-top: 4px;
}
.pg-place__topics > span {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--pg-soft);
  color: var(--pg-accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .01em;
}
.pg-place__copy .pg-place__location {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--pg-muted);
}
.pg-place__description {
  grid-column: 1 / -1;
  margin-top: 4px;
  color: var(--pg-muted);
  font-size: 14px;
  line-height: 1.5;
}
.pg-place__address {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #6d7c74;
}
.parent-guide .pg-place__link:is(:hover, :focus-visible) h3 {
  text-decoration: none;
}
.pg-place__copy h3 a { text-decoration: none; color: inherit; }

/* Outline Button in Places */
.parent-guide .pg-button--outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 24px;
  border: 1.5px solid var(--pg-accent);
  border-radius: 100px;
  color: var(--pg-accent) !important;
  background: transparent;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  box-shadow: none;
  transition: all .2s cubic-bezier(.34, 1.56, .64, 1);
}
.parent-guide .pg-button--outline:hover,
.parent-guide .pg-button--outline:focus-visible,
.parent-guide .pg-button--outline:active {
  color: #ffffff !important;
  background: var(--pg-accent);
  border-color: var(--pg-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(19, 111, 56, 0.25);
}
.parent-guide .pg-button--outline:hover .pg-ico-arrow {
  color: #ffffff !important;
  transform: translate(3px, -3px);
}

/* Topics Grid & Interactive Cards */
.pg-topics__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.pg-topic {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 20px;
  background: #ffffff;
  border: 1px solid var(--pg-card-border);
  border-radius: 20px;
  box-shadow: var(--pg-shadow-sm);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease, border-color .25s ease;
}
.pg-topic:hover, .pg-topic:focus-within {
  transform: translateY(-4px);
  border-color: rgba(19, 111, 56, 0.3);
  box-shadow: var(--pg-shadow-hover);
}
.pg-topic__top {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-bottom: 12px;
}
.pg-topic__icon {
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pg-soft) 0%, var(--tint-turf-100) 100%);
  border: 1px solid rgba(19, 111, 56, 0.08);
  box-shadow: 0 2px 6px rgba(19, 111, 56, 0.06);
  color: var(--pg-accent);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background-color .25s ease, box-shadow .25s ease;
}
.pg-topic__icon img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.pg-topic:hover .pg-topic__icon,
.pg-topic:focus-within .pg-topic__icon {
  transform: translateY(-3px) rotate(-6deg) scale(1.08);
  background: linear-gradient(135deg, var(--tint-turf-100) 0%, #cae3d1 100%);
  box-shadow: 0 4px 12px rgba(19, 111, 56, 0.15);
}
.pg-topic h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--pg-ink);
}
.pg-topic__text {
  margin-bottom: 16px !important;
  color: var(--pg-muted);
  font-size: 14.5px;
  line-height: 1.55;
  flex-grow: 1;
}
.pg-topic__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  width: 100%;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(19, 111, 56, 0.12);
}
.pg-topic__footer a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--pg-soft);
  color: var(--pg-accent) !important;
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
  transition: all .2s cubic-bezier(.34, 1.56, .64, 1);
}
.pg-topic__footer a:hover,
.pg-topic__footer a:focus-visible {
  background: var(--pg-accent);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(19, 111, 56, 0.25);
  text-decoration: none;
}
.pg-topic__footer a:hover .pg-ico-arrow,
.pg-topic__footer a:focus-visible .pg-ico-arrow {
  color: #ffffff !important;
  transform: translate(2px, -2px);
}
.pg-topic__count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(19, 111, 56, 0.04);
  color: var(--pg-muted);
  font-size: 12px;
  font-weight: 600;
}

/* Checklist / Advice Block */
.pg-advice {
  margin-top: 36px;
  padding: 0 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f4faf6 0%, #eaf4ed 100%);
  border: 1px solid rgba(19, 111, 56, 0.14);
  box-shadow: var(--pg-shadow-sm);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.pg-advice:hover {
  border-color: rgba(19, 111, 56, 0.25);
  box-shadow: var(--pg-shadow-md);
}
.pg-advice summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 62px;
  padding: 16px 0;
  color: var(--pg-ink);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.pg-advice summary::-webkit-details-marker { display: none; }
.pg-advice__heading {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.pg-advice__badge {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--pg-accent);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(19, 111, 56, 0.25);
  flex-shrink: 0;
}
.pg-advice__body {
  padding: 4px 0 24px;
  font-size: 15px;
  line-height: 1.55;
  border-top: 1px solid rgba(19, 111, 56, 0.1);
  margin-top: 2px;
}
.pg-advice__body > p {
  margin: 14px 0 16px;
  color: var(--pg-muted);
  font-size: 15px;
}
.pg-advice ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  padding: 0;
  list-style: none;
}
.pg-advice li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--pg-ink);
  font-size: 14.5px;
  line-height: 1.45;
}
.pg-check-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #168040 0%, #0d4a25 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(19, 111, 56, 0.2);
  margin-top: 2px;
  flex-shrink: 0;
}

/* FAQ Section - Interactive Question Cards */
.pg-faq {
  display: block;
}
.pg-faq h2 {
  max-width: none;
}
.pg-faq__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.pg-faq details {
  background: #ffffff;
  border: 1px solid var(--pg-card-border);
  border-radius: 16px;
  padding: 0 22px;
  box-shadow: var(--pg-shadow-sm);
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
.pg-faq details:hover {
  transform: translateY(-2px);
  border-color: rgba(19, 111, 56, 0.25);
  box-shadow: var(--pg-shadow-md);
}
.pg-faq details[open] {
  border-color: var(--pg-accent);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
  box-shadow: 0 8px 24px rgba(19, 111, 56, 0.08);
}
.pg-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 60px;
  padding: 16px 0;
  color: var(--pg-ink);
  font-size: 16.5px;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color .2s ease;
}
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq details:hover summary {
  color: var(--pg-accent);
}
.pg-faq details[open] summary {
  color: var(--pg-ink);
}

/* Modern Animated Toggle Icon (Plus to Times) */
.pg-faq__toggle {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(19, 111, 56, 0.08) 0%, rgba(19, 111, 56, 0.03) 100%);
  border: 1.5px solid rgba(19, 111, 56, 0.18);
  box-shadow: 0 2px 6px rgba(19, 111, 56, 0.05);
  transition: transform .32s cubic-bezier(.34, 1.56, .64, 1), background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.pg-faq__toggle::before, .pg-faq__toggle::after {
  content: "";
  position: absolute;
  left: 9.5px;
  top: 14px;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--pg-accent);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background-color .22s ease;
}
.pg-faq__toggle::after {
  transform: rotate(90deg);
}
.pg-faq details:hover .pg-faq__toggle,
.pg-advice:hover .pg-faq__toggle {
  transform: scale(1.08);
  border-color: var(--pg-accent);
  box-shadow: 0 4px 12px rgba(19, 111, 56, 0.16);
}
.pg-advice[open] > summary .pg-faq__toggle,
.pg-faq details[open] .pg-faq__toggle {
  background: linear-gradient(135deg, #168040 0%, #0d4a25 100%);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(19, 111, 56, 0.35);
  transform: rotate(135deg);
}
.pg-advice[open] > summary .pg-faq__toggle::before,
.pg-advice[open] > summary .pg-faq__toggle::after,
.pg-faq details[open] .pg-faq__toggle::before,
.pg-faq details[open] .pg-faq__toggle::after {
  background: #ffffff;
}

.pg-faq__answer {
  padding: 2px 28px 20px 0;
  color: #3f5046;
  font-size: 15px;
  line-height: 1.6;
  border-top: 1px solid rgba(19, 111, 56, 0.08);
  margin-top: 2px;
}
.pg-faq__answer p {
  margin-top: 12px;
}
.pg-faq__answer p:first-child {
  margin-top: 14px;
}

/* Related Guide Banner */
.pg-related {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 36px;
  padding: 26px 32px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0b3921 0%, #115c2f 50%, #167a3f 100%);
  color: #fff;
  box-shadow: 0 16px 36px -8px rgba(11, 57, 33, 0.3), 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}
.pg-related::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.pg-related h2 {
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.pg-related__text {
  max-width: 64ch;
  margin-top: 8px !important;
  color: #d1ebd8;
  font-size: 15px;
  line-height: 1.5;
}
.parent-guide .pg-related a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex: 0 1 250px;
  min-height: 48px;
  padding: 11px 22px;
  border: none;
  border-radius: 100px;
  color: #0b3921 !important;
  background: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease, background-color .2s ease;
  white-space: nowrap;
}
.parent-guide .pg-related a:hover,
.parent-guide .pg-related a:focus-visible {
  color: #0b3921 !important;
  background: #f7faf8;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.parent-guide .pg-related a:active {
  transform: translateY(0) scale(.98);
}
.parent-guide .pg-related a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}
.parent-guide .pg-related a:hover .pg-ico-arrow {
  transform: translate(3px, -3px);
}

/* Empty State */
.pg-empty {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px dashed rgba(19, 111, 56, 0.2);
  background: var(--pg-soft);
}
.pg-empty__icon {
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.pg-empty p {
  max-width: 70ch;
  margin-top: 8px;
  color: var(--pg-muted);
  font-size: 15px;
}

/* Tablet Layout */
@media (max-width: 1023px) {
  .parent-guide { width: calc(100% - 44px); }
  .pg-hero { gap: 24px; }
  .parent-guide h1 { font-size: 36px; }
  .pg-hero__art { border-radius: 20px; }
  .pg-toc { column-gap: 14px; border-radius: 16px; }
  .pg-toc__label { display: none; }
  .pg-topics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .pg-places__grid { gap: 18px; }
  .pg-related { padding: 22px 24px; }
}

/* Mobile Layout */
@media (max-width: 699px) {
  body.page-parent_guide, .page-parent_guide .site-shell { overflow-x: clip; overflow-y: visible; }
  .page-parent_guide .km-back-to-top { display: none; }
  .parent-guide { width: calc(100% - 28px); padding-top: 10px; padding-bottom: 28px; }
  .parent-guide :is(section, h1)[id], .parent-guide summary { scroll-margin-top: 148px; }
  .parent-guide .pg-control-full { display: none; }
  .parent-guide .pg-control-short { display: inline; }
  .pg-breadcrumb { margin-bottom: 8px; font-size: 12px; }
  .pg-hero { position: relative; display: block; padding-bottom: 18px; }
  .pg-hero__copy { padding: 4px 0 0; }
  .pg-eyebrow { margin-bottom: 10px !important; font-size: 11px; }
  .parent-guide h1 { max-width: none; min-height: 92px; padding-right: 128px; font-size: 28px; }
  .pg-hero__lead { margin: 12px 0 14px !important; font-size: 15px; }
  .pg-hero__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .parent-guide .pg-hero__actions > a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 14px;
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
  }
  .parent-guide .pg-hero__actions > .pg-button {
    background: linear-gradient(135deg, #168040 0%, #0d4a25 100%);
    border: none;
    color: #ffffff !important;
  }
  .pg-hero__actions > .pg-text-link {
    background: #ffffff;
    border: 1.5px solid rgba(19, 111, 56, 0.2);
    color: var(--pg-accent) !important;
  }
  .pg-byline { margin-top: 12px !important; font-size: 11px; }
  .pg-hero__art { position: absolute; top: 32px; right: 0; width: 112px; max-width: none; border-radius: 14px; }
  .pg-toc {
    position: sticky;
    top: 76px;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px 6px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(19, 111, 56, 0.08);
  }
  .pg-toc a {
    justify-content: center;
    gap: 0;
    min-height: 42px;
    padding: 6px 4px;
    border: 1px solid var(--pg-line);
    border-radius: 12px;
    background: var(--pg-soft);
    font-size: 14px;
  }
  .pg-toc a > span[aria-hidden] { display: none; }
  .pg-section { padding-top: 26px; }
  .parent-guide h2 { font-size: 24px; }
  .pg-section-heading { gap: 6px; margin-bottom: 12px; }
  .pg-topics__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pg-topic { position: relative; padding: 16px; border-radius: 16px; }
  .pg-topic__top { gap: 10px; margin-bottom: 8px; padding-right: 36px; }
  .pg-topic__icon { flex-basis: 40px; height: 40px; border-radius: 12px; }
  .pg-topic__icon img { width: 24px; height: 24px; }
  .pg-topic__text { margin-bottom: 8px !important; font-size: 14px; }
  .pg-topic__footer { gap: 8px; margin: 0; padding-top: 8px; border-top: 0; }
  .pg-topic__footer a {
    position: absolute;
    inset: 0;
    display: block;
    min-height: 44px;
    border-radius: 16px;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }
  .pg-topic__footer a:hover,
  .pg-topic__footer a:focus-visible,
  .pg-topic__footer a:active {
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }
  .pg-topic:hover,
  .pg-topic:focus-within {
    border-color: rgba(19, 111, 56, 0.35);
    box-shadow: 0 4px 16px rgba(19, 111, 56, 0.12);
    transform: translateY(-2px);
  }
  .pg-topic__footer a > .pg-arrow {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--pg-soft);
    color: var(--pg-accent);
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
  }
  .pg-topic:hover .pg-topic__footer a > .pg-arrow,
  .pg-topic:focus-within .pg-topic__footer a > .pg-arrow,
  .pg-topic__footer a:hover > .pg-arrow,
  .pg-topic__footer a:focus-visible > .pg-arrow,
  .pg-topic__footer a:active > .pg-arrow {
    background: var(--pg-accent);
    color: #ffffff !important;
    transform: translate(2px, -2px);
  }
  .pg-topic__link-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .pg-topic__count { margin-top: 6px; }
  .pg-places__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 18px; }
  .parent-guide .pg-place__link { grid-template-columns: 88px minmax(0, 1fr); gap: 8px 14px; padding-bottom: 0; }
  .pg-place__image { aspect-ratio: 1; border-radius: 12px; }
  .pg-place__copy h3 { margin-bottom: 4px; font-size: 17px; }
  .pg-place > .pg-button, .pg-places > .pg-button { width: 100%; }
  .pg-empty { gap: 12px; padding: 14px 16px; border-radius: 14px; }
  .pg-empty__icon { flex-basis: 38px; height: 38px; }
  .pg-advice { margin-top: 24px; padding: 0 16px; border-radius: 16px; }
  .pg-advice ul { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pg-faq details { padding: 0 16px; border-radius: 14px; }
  .pg-faq__answer { padding-right: 4px; }
  .pg-related { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 28px; padding: 22px 20px; border-radius: 18px; }
  .pg-related h2 { font-size: 21px; }
  .parent-guide .pg-related a { flex: none; width: 100%; justify-content: center; }
}

@media (max-width: 359px) {
  .parent-guide h1 { min-height: 82px; padding-right: 104px; font-size: 25px; }
  .pg-hero__art { width: 92px; }
  .parent-guide .pg-place__link { grid-template-columns: 76px minmax(0, 1fr); gap: 7px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .parent-guide *, .parent-guide *::before, .parent-guide *::after { transition: none !important; animation: none !important; }
  .parent-guide .pg-button:is(:hover, :focus-visible),
  .parent-guide .pg-related a:is(:hover, :focus-visible),
  .pg-topic:hover .pg-topic__icon,
  .pg-topic:focus-within .pg-topic__icon,
  .pg-place:hover .pg-place__image > img,
  .pg-place:focus-within .pg-place__image > img,
  .pg-text-link:is(:hover, :focus-visible) .pg-ico-arrow,
  .pg-eyebrow > span { transform: none !important; }
}

@media print {
  .parent-guide { width: 100%; padding: 0; }
  .pg-hero__art, .pg-toc, .pg-button, .pg-related { display: none !important; }
  .pg-hero, .pg-faq { display: block; }
  .pg-section { padding-top: 18px; }
  .pg-topic, .pg-place { break-inside: avoid; }
  .pg-faq details > .pg-faq__answer, .pg-advice > .pg-advice__body { display: block !important; }
}
