/* PawPal's illustrated application guides. */
.pd-guide-page {
  --guide-bg: #0f131d;
  --guide-panel: #191e2d;
  --guide-line: #3a4057;
  --guide-text: #f4eff8;
  --guide-muted: #c0c6d6;
  --guide-link: #edd0ff;
  background: var(--guide-bg);
  color: var(--guide-text);
}
.pd-guide-page .pd-guide-top {
  border-bottom: 1px solid var(--guide-line);
  background: #141825;
}
.pd-guide-top-inner {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 10px;
}
.pd-guide-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--guide-text);
  font-size: 19px;
  font-weight: 750;
}
.pd-guide-brand img { width: 44px; height: 44px; border-radius: 12px; }
.pd-guide-top .hcs-language-picker { flex-wrap: wrap; }
.pd-guide-page .pd-guide-article {
  width: min(1152px, calc(100% - 48px));
  max-width: none;
  padding-block: clamp(24px, 4vw, 54px) 62px;
}
.pd-guide-page .geo-breadcrumb { margin: 0 0 24px; }
.pd-guide-page .pd-guide-hero {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid #524062;
  border-radius: 24px;
  background: radial-gradient(ellipse at 100% 0, #40284f, transparent 72%), #1a2030;
}
.pd-guide-page .pd-guide-hero .eyebrow { color: var(--guide-link); margin: 0 0 12px; }
.pd-guide-page .pd-guide-hero h1 {
  color: var(--guide-text);
  font-size: clamp(32px, 4.2vw, 57px);
  letter-spacing: -.045em;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0 0 15px;
  padding: 0;
}
.pd-guide-page .pd-guide-hero .geo-answer { background: transparent; border: 0; margin: 12px 0; padding: 0; }
.pd-guide-page .pd-guide-hero .geo-answer p { color: var(--guide-muted); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; margin-top: 0; max-width: 75ch; }
.pd-guide-page .pd-guide-hero .geo-byline { margin: 0; color: var(--guide-muted); font-size: 13px; }
.pd-guide-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pd-guide-page main .pd-guide-actions > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 17px;
  border: 1px solid #8a679d;
  border-radius: 11px;
  color: #f9ebff;
  background: #251c38;
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
}
.pd-guide-page main .pd-guide-actions > a:first-child { background: #e4b8fb; border-color: #e4b8fb; color: #251230; }
.pd-guide-page main .pd-guide-actions > a:hover { border-color: #fff; }
.pd-guide-page :focus-visible { outline: 2px solid #f3bbff; outline-offset: 4px; }
.pd-guide-layout { display: grid; grid-template-columns: minmax(190px, .26fr) minmax(0, 1fr); align-items: start; gap: 30px; margin-top: 28px; }
.pd-guide-page .geo-contents {
  position: sticky;
  top: 20px;
  gap: 11px;
  min-width: 0;
  padding: 19px;
  margin: 0;
  border: 1px solid var(--guide-line);
  border-radius: 16px;
  background: var(--guide-panel);
  line-height: 1.45;
}
.pd-guide-page .geo-contents a { color: var(--guide-link); overflow-wrap: anywhere; }
.pd-guide-page .pd-media { margin: 0 0 30px; overflow-wrap: anywhere; }
.pd-guide-page .pd-media .pd-label { color: var(--guide-link); }
.pd-guide-page .pd-media-layout { grid-template-columns: minmax(160px, 240px) minmax(0, 1fr); gap: 22px; }
.pd-guide-page .pd-media video { max-height: 440px; object-fit: contain; }
.pd-guide-page .geo-prose { max-width: 74ch; }
.pd-guide-page main section[id], .pd-guide-page main h2[id] { scroll-margin-top: 24px; }
@media (max-width: 820px) {
  .pd-guide-layout { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .pd-guide-page .geo-contents { position: static; }
  .pd-guide-page .geo-contents a { margin: 0; }
}
@media (max-width: 620px) {
  .pd-guide-top-inner, .pd-guide-page .pd-guide-article { width: calc(100% - 32px); }
  .pd-guide-top-inner { gap: 8px 12px; }
  .pd-guide-page .pd-guide-hero { border-radius: 17px; padding: 20px; }
  .pd-guide-page .geo-contents { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); padding: 14px; }
  .pd-guide-page .geo-contents strong { grid-column: 1 / -1; }
  .pd-guide-page .pd-media-layout { grid-template-columns: minmax(0,1fr); }
  .pd-guide-page .pd-media video { max-width: min(100%, 240px); }
}