/* =============================================================
   PAWSHTAILS — SIZING HELP PAGE
   Enqueued only when page-templates/page-sizing-help.php is
   active. Reuses the prose typography rules from content-pages.css
   by mirroring them under the sizing-help body class.

   Visuals ported from mockups/pawshtails-sizing-help.html
   (lines 1513–1663 for styles, 1715–1804 for markup).
   ============================================================= */


/* BREADCRUMB. */
body.page-template-page-sizing-help .breadcrumb {
  padding: var(--space-4) 0;
  background: var(--white);
  border-bottom: 1px solid var(--neutral-100);
}
body.page-template-page-sizing-help .breadcrumb .container { max-width: 1280px; }
body.page-template-page-sizing-help .breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-family: 'Sen', sans-serif !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neutral-500);
  margin: 0;
  padding: 0;
}
body.page-template-page-sizing-help .breadcrumb-list li { margin: 0; padding: 0; }
body.page-template-page-sizing-help .breadcrumb-list a {
  color: var(--neutral-500);
  text-decoration: none;
  transition: color var(--t-fast, 150ms);
}
body.page-template-page-sizing-help .breadcrumb-list a:hover { color: var(--brand-orange); }
body.page-template-page-sizing-help .breadcrumb-sep { color: var(--neutral-500); opacity: 0.5; margin: 0; }
body.page-template-page-sizing-help .breadcrumb-current { color: var(--neutral-900); font-weight: 600; }


/* HERO base. */
body.page-template-page-sizing-help .account-hero {
  padding: var(--space-8) var(--section-x) var(--space-6);
  background: var(--neutral-900);
  color: var(--white);
  text-align: center;
}
body.page-template-page-sizing-help .account-hero-inner { max-width: 1100px; margin: 0 auto; }
body.page-template-page-sizing-help .account-hero-eyebrow {
  font-family: var(--font-accent) !important;
  font-size: var(--text-2xl);
  color: var(--brand-orange);
  transform: rotate(-2deg);
  display: inline-block;
  line-height: 1;
  margin-bottom: var(--space-2);
}
body.page-template-page-sizing-help .account-hero-title {
  font-family: var(--font-display) !important;
  font-size: var(--text-4xl);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
  margin: 0;
}
body.page-template-page-sizing-help .account-hero-subtitle {
  font-family: 'Sen', sans-serif !important;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-3);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
body.page-template-page-sizing-help .account-hero-subtitle p { margin: 0; }
@media (min-width: 720px) {
  body.page-template-page-sizing-help .account-hero { padding: var(--space-10) var(--section-x) var(--space-8); }
  body.page-template-page-sizing-help .account-hero-eyebrow { font-size: var(--text-3xl); }
  body.page-template-page-sizing-help .account-hero-title { font-size: var(--text-5xl); }
}


/* PROSE SECTION. */
.sizing-help-page .prose-section {
  padding: var(--section-y) 0 var(--space-12);
  background: var(--brand-cream);
}
.sizing-help-page .prose-section .container { max-width: 960px; }
.sizing-help-page .prose-block {
  background: var(--white);
  padding: var(--space-5);
  border: 1px solid var(--neutral-200);
}
@media (min-width: 720px) {
  .sizing-help-page .prose-block { padding: var(--space-8); }
}
.sizing-help-page .prose-block + .prose-block { margin-top: var(--space-4); }


/* PROSE TYPOGRAPHY — h2/h3/p/ul/ol/a/strong, scoped here so the
   sizing-help page renders the same prose treatment as the
   policy pages without depending on content-pages.css being loaded. */
.sizing-help-page .prose h1,
.sizing-help-page .prose h2 {
  font-family: var(--font-display) !important;
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--neutral-900);
  margin: 0 0 var(--space-3);
  line-height: 1.1;
}
.sizing-help-page .prose h2:not(:first-child),
.sizing-help-page .prose h1:not(:first-child) {
  margin-top: var(--space-6);
}
.sizing-help-page .prose h3 {
  font-family: var(--font-display) !important;
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--neutral-900);
  margin: var(--space-4) 0 var(--space-2);
  letter-spacing: -0.01em;
}
.sizing-help-page .prose p {
  font-family: 'Sen', sans-serif !important;
  font-size: var(--text-base);
  color: var(--neutral-700);
  line-height: 1.7;
  margin: 0 0 var(--space-3);
}
.sizing-help-page .prose p:last-child { margin-bottom: 0; }
.sizing-help-page .prose ul,
.sizing-help-page .prose ol {
  font-family: 'Sen', sans-serif !important;
  margin: 0 0 var(--space-3) var(--space-5);
  color: var(--neutral-700);
  line-height: 1.7;
}
.sizing-help-page .prose strong { color: var(--neutral-900); font-weight: 700; }
.sizing-help-page .prose a {
  color: var(--brand-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sizing-help-page .prose a:hover { color: var(--brand-orange-dark); }


/* ============================================================
   SIZING STEPS — three numbered cards (01 / 02 / 03).
   1 col on mobile, 3 cols at 720+.
   ============================================================ */
.sizing-help-page .sizing-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}
@media (min-width: 720px) {
  .sizing-help-page .sizing-steps { grid-template-columns: 1fr 1fr 1fr; gap: var(--space-5); }
}
.sizing-help-page .sizing-step {
  background: var(--brand-cream);
  padding: var(--space-5);
}
.sizing-help-page .sizing-step-num {
  font-family: var(--font-display) !important;
  font-size: var(--text-4xl);
  color: var(--brand-orange);
  line-height: 1;
  margin-bottom: var(--space-3);
  font-weight: 400;
}
.sizing-help-page .sizing-step-title {
  font-family: var(--font-display) !important;
  font-size: var(--text-lg);
  color: var(--neutral-900);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}
.sizing-help-page .sizing-step-body {
  font-family: 'Sen', sans-serif !important;
  font-size: var(--text-sm);
  color: var(--neutral-700);
  line-height: 1.6;
}


/* ============================================================
   BETWEEN-SIZES SUBSECTION — sits inside the measure prose-block.
   No extra border, no background — it's just an inline H3 + p.
   The H3 gets a touch more top margin so it visually separates
   from the steps grid above. The wrapper + child rules below
   defensively strip any border/background/padding that might
   sneak in from the wysiwyg → textarea field migration.
   ============================================================ */
.sizing-help-page .sizing-between-heading {
  margin-top: var(--space-5);
}
.sizing-help-page .sizing-between-body,
.sizing-help-page .sizing-between-body * {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.sizing-help-page .sizing-between-body p {
  font-family: 'Sen', sans-serif !important;
  font-size: var(--text-base);
  color: var(--neutral-700);
  line-height: 1.7;
  margin: 0 0 var(--space-3);
  padding: 0 !important;
}
.sizing-help-page .sizing-between-body p:last-child { margin-bottom: 0; }
.sizing-help-page .sizing-between-body strong {
  color: var(--neutral-900);
  font-weight: 700;
}
.sizing-help-page .sizing-between-body a {
  color: var(--brand-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ============================================================
   SIZING CHART IMAGE — uploaded per chart in the repeater.
   Renders full-width inside the prose-block card.
   ============================================================ */
.sizing-help-page .sizing-chart-image {
  margin: var(--space-4) 0 0;
}
.sizing-help-page .sizing-chart-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Small grey caveat under charts, e.g. "Breed examples are
   guidance only…". */
.sizing-help-page .sizing-chart-note {
  font-family: 'Sen', sans-serif !important;
  font-size: var(--text-xs);
  color: var(--neutral-500);
  margin-top: var(--space-3);
}


/* ============================================================
   ASK-US BANNER — orange CTA at the bottom of the page.
   ============================================================ */
.sizing-help-page .sizing-help-banner {
  background: var(--brand-orange);
  color: var(--white);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-5);
}
@media (min-width: 720px) {
  .sizing-help-page .sizing-help-banner { padding: var(--space-6); gap: var(--space-5); }
}
.sizing-help-page .sizing-help-banner-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sizing-help-page .sizing-help-banner-icon svg { width: 28px; height: 28px; }
.sizing-help-page .sizing-help-banner-content { flex: 1; min-width: 200px; }
.sizing-help-page .sizing-help-banner-title {
  font-family: var(--font-display) !important;
  font-size: var(--text-xl);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  color: var(--white);
}
.sizing-help-page .sizing-help-banner-sub {
  font-family: 'Sen', sans-serif !important;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
}
.sizing-help-page .sizing-help-banner-cta {
  background: var(--white);
  color: var(--brand-orange);
  font-family: 'Sen', sans-serif !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
  border: 0;
  transition: background var(--t-fast, 150ms);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.sizing-help-page .sizing-help-banner-cta:hover { background: var(--neutral-100); }
