/* Extra rules for the crawlable pages. The site header and cookie banner use the main stylesheet. */
.mobile-nav[hidden],
.cookie-banner[hidden],
.cookie-banner fieldset[hidden] { display: none !important; }
.pp-wrap { max-width: 1100px; margin: 0 auto; padding: 22px 16px 96px; }
.pp-wrap h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.15; margin: 0 0 10px; }
.pp-lead { font-size: 1.05rem; max-width: 42rem; }
.pp-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 18px 0 28px; }
@media (min-width: 800px) { .pp-grid { grid-template-columns: 1fr 1fr; } .pp-grid.pp-grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.pp-tool { background: #fff; border-radius: 22px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 8px 0 #28485a18, 0 10px 24px #28485a14; display: flex; flex-direction: column; }
.pp-tool img.pp-art { width: 100%; height: 180px; object-fit: cover; display: block; background: #ffe8c7; }
.pp-tool .pad { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pp-age { display: inline-flex; align-items: center; min-height: 32px; background: #dce7d9; color: #1a2b33; border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 0.9rem; width: max-content; }
a.pp-play { display: flex; align-items: center; justify-content: center; min-height: 48px; width: 100%; margin-top: auto; text-decoration: none; font-size: 1.05rem; }
.pp-grown { margin-top: 8px; }
.pp-grown h2 { font-size: 1.35rem; margin: 1.2em 0 .35em; }
.pp-card { background: #fff; border-radius: 22px; padding: 14px 16px 16px; margin: 12px 0; border: 3px solid #fff; box-shadow: 0 8px 0 #28485a14; }
.pp-cover { width: min(240px, 70%); height: auto; border-radius: 16px; display: block; }
.pp-menu-icon { width: 22px; height: 22px; }
.site-header { position: relative; z-index: 20; }
.menu-button, .header-pill, .header-cta, a.pp-play, .cookie-actions .button { min-height: 44px; }
.cookie-banner { z-index: 40; pointer-events: auto; }
.cookie-banner .cookie-x { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
.cookie-banner.compact .cookie-x { width: 44px !important; height: 44px !important; }
.cookie-banner .cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-banner.compact .cookie-actions .button { min-height: 44px !important; padding: 8px 10px !important; }

/* Keep the Explore Learning Tools button beside the logo on all widths. */
.header-inner .header-cta:not(.drawer-cta) {
  display: inline-flex !important;
  margin-left: 0 !important;
  flex: 0 0 auto;
}
.header-auth {
  margin-left: auto;
  flex: 0 0 auto;
}
.menu-button {
  flex: 0 0 auto;
}
.header-cta .cta-short { display: none; }
.header-cta .cta-long { display: inline; }

@media (max-width: 1100px) {
  .header-inner .header-cta:not(.drawer-cta) {
    padding: 10px 14px !important;
    font-size: 14px !important;
    min-height: 44px;
  }
}

@media (max-width: 900px) {
  .header-cta .cta-long { display: none; }
  .header-cta .cta-short { display: inline; }
  .header-inner .header-cta:not(.drawer-cta) {
    padding: 8px 14px !important;
    font-size: 14px !important;
    min-height: 44px;
    box-shadow: 0 3px #b4482a;
  }
}

@media (max-width: 799px) {
  /* Logo + CTA + menu must fit; Sign up / Log in stay in the drawer at this width. */
  .header-inner .brand {
    flex: 0 0 auto !important;
    min-width: auto !important;
    max-width: none !important;
    overflow: visible;
  }
  .header-inner > .header-auth {
    display: none !important;
  }
  .header-inner .header-cta:not(.drawer-cta) {
    min-height: 44px;
    min-width: 44px;
  }
  .menu-button {
    margin-left: auto;
  }
}

@media (max-width: 479px) {
  .header-inner {
    gap: 8px;
    padding-inline: 10px;
  }
  .header-inner .header-cta:not(.drawer-cta) {
    padding: 6px 10px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 360px) {
  .header-inner {
    gap: 6px;
    padding-inline: 8px;
  }
  .header-inner .header-cta:not(.drawer-cta) {
    padding: 6px 8px !important;
    font-size: 12.5px !important;
  }
}
