/* Polish-site additions on top of site.css (the copied askaprice.com bundle). */

/* Content still to supply: visible on QA so gaps are obvious. */
.pl-todo {
  border: 2px dashed #b45309;
  background: #fef3c7;
  color: #78350f;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  margin: 0.5rem 0;
  font-size: 0.95rem;
  text-align: left;
}

/* Mobile menu, opened by the toggle script. */
.pl-mobile-menu.is-open {
  translate: 0 80px;
}

/* Header badge linking to the UK site, in the slot askaprice.com uses for its rating. */
.pl-uk-badge:hover h5 { text-decoration: underline; }

/* Burger turns into an X while the menu is open, as on askaprice.com. */
.pl-menu-toggle span {
  transition: all 300ms;
  transform-origin: center;
}
.pl-menu-toggle[aria-expanded="true"] span {
  width: 1.5rem;
  left: 50%;
  translate: -50% 0;
}
.pl-menu-toggle[aria-expanded="true"] span:nth-child(1) { rotate: 45deg; }
.pl-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pl-menu-toggle[aria-expanded="true"] span:nth-child(3) { rotate: -45deg; }

/* Legal page body: Tailwind's reset strips list and table styling. */
.pl-policy h2 { font-size: 1.5rem; font-weight: 700; }
.pl-policy ul { list-style: disc; padding-left: 1.5rem; }
.pl-policy ol { list-style: decimal; padding-left: 1.5rem; }
.pl-policy li + li { margin-top: 0.35rem; }
.pl-policy a { text-decoration: underline; }
.pl-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.pl-table th, .pl-table td { border: 1px solid #d6d3d1; padding: 0.5rem 0.75rem; text-align: left; vertical-align: top; }
.pl-table th { background: #f5f5f4; }

/* Desktop hero sizing (utilities the copied bundle doesn't include). */
@media (min-width: 48rem) {
  .md\:pr-6 { padding-right: 1.5rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:font-bold { font-weight: 700; }
  .md\:h-auto { height: auto; }
}

/* askaprice.com's Next "fill" images: cover the wrapper rather than set its height. */
.pl-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero car at askaprice.com's size: the studio image has wide margins, so it renders
   at 150% of its column (centred) like the UK hero. The page clips the overhang. */
/* Like askaprice.com, the wrapper has a fixed height and the car overflows it without
   affecting layout, so the image box can't make the hero row taller. */
.pl-hero-wrap { position: relative; }
.pl-hero-wrap-mob { height: 13rem; }
.pl-hero-wrap-desk { height: 16rem; }
.pl-hero-mob,
.pl-hero-desk {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 150%;
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 9; /* the UK hero's box; the studio image is 16:10 */
}
main { overflow-x: clip; }

/* Mobile: end the hero 48px below the top of the rounded section that overlaps it, as
   askaprice.com does, so the peach reaches under its 50px corners (pb-16 left a notch). */
@media (max-width: 767.98px) {
  .pl-hero-outer { padding-bottom: 3rem; }
}
