/*
 * Breed guide pages: visual polish layer (2026-10-20).
 * Loaded after breed-single.css on single `breed` posts only, by
 * mu-plugins/nd-breed-polish.php. Every selector is prefixed with
 * .nd-breed-article so it beats the copy of the base CSS that still sits
 * inline in each post. Visual only: no markup or copy changes.
 */

.nd-breed-article {
  --bpx-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --bpx-sans: 'DM Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bpx-green: #17291c;
  --bpx-green-2: #24402c;
  --bpx-orange: #E8622A;
  --bpx-orange-dk: #c9501d;
  --bpx-ink: #23251f;
  --bpx-muted: #5d584e;
  --bpx-line: #e9e0d2;
  --bpx-cream: #faf5ee;
  --bpx-ease: cubic-bezier(.22, 1, .36, 1);
  font-family: var(--bpx-sans);
}

/* ---------- Type ---------- */
.nd-breed-article .bp { font-family: var(--bpx-sans); color: var(--bpx-ink); }
.nd-breed-article .bp .serif,
.nd-breed-article .bp-price b,
.nd-breed-article .bp-cta .ct b,
.nd-breed-article .bp-expert h4,
.nd-breed-article .bp-expert .sig,
.nd-breed-article .bp-card h4 { font-family: var(--bpx-serif); }

.nd-breed-article .bp-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.nd-breed-article .bp-hero p.hd { color: #e2e9df; font-size: 1.04rem; line-height: 1.75; max-width: 46ch; }
.nd-breed-article .bp-hero .hrule { width: 72px; height: 3px; border-radius: 3px; background: var(--bpx-orange); margin: 22px 0 20px; }

.nd-breed-article .bp h2.sec {
  font-family: var(--bpx-serif);
  font-size: clamp(1.75rem, 3.1vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -.005em;
  color: var(--bpx-green);
  margin: 0 0 14px;
  text-wrap: balance;
}
.nd-breed-article .bp p.lead { font-size: 1.06rem; line-height: 1.8; color: var(--bpx-muted); max-width: 68ch; margin: 0; text-wrap: pretty; }

.nd-breed-article .bp h3.sub {
  font-family: var(--bpx-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.25;
  color: var(--bpx-green);
  margin: clamp(48px, 6vw, 68px) 0 20px;
  text-wrap: balance;
  scroll-margin-top: 96px;
}
.nd-breed-article .bp h2.sec { scroll-margin-top: 96px; }

/* ---------- Hero ---------- */
.nd-breed-article .bp-hero { border-radius: 24px; min-height: 480px; }
.nd-breed-article .bp-hero .htxt { padding: clamp(32px, 5vw, 60px) clamp(24px, 4.5vw, 56px); }
.nd-breed-article .bp-hero .hlabel { letter-spacing: .16em; font-size: .78rem; }
.nd-breed-article .bp-price { background: rgba(255,255,255,.05); border-color: rgba(232,98,42,.55); border-radius: 14px; padding: 14px 22px; }
.nd-breed-article .bp-price small { color: #d3dccf; }
.nd-breed-article .bp-price b { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-variant-numeric: tabular-nums; }
.nd-breed-article .bp-hero .himg { animation: bpx-settle 1.4s var(--bpx-ease) both; }
@keyframes bpx-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.nd-breed-article .bp-hero { isolation: isolate; }

/* Buttons */
.nd-breed-article .bp-btn { border-radius: 10px; min-height: 48px; transition: background-color .2s var(--bpx-ease), transform .2s var(--bpx-ease), box-shadow .2s var(--bpx-ease); }
.nd-breed-article .bp-btn.wa { box-shadow: 0 6px 18px -8px rgba(232,98,42,.8); }
.nd-breed-article .bp-btn.wa:hover { background: var(--bpx-orange-dk); transform: translateY(-1px); }
.nd-breed-article .bp-btn.gh { border-color: rgba(255,255,255,.55); }
.nd-breed-article .bp-btn:active { transform: translateY(1px); }

/* ---------- Stats bar ---------- */
.nd-breed-article .bp-stats { background: #fff; border-color: var(--bpx-line); border-radius: 18px; margin: 20px 0 clamp(44px, 6vw, 64px); box-shadow: 0 1px 0 rgba(23,41,28,.03), 0 12px 32px -24px rgba(23,41,28,.35); }
.nd-breed-article .bp-stat { padding: 22px 22px; }
.nd-breed-article .bp-stat .si { background: #fff4ec; border-color: #f6dccd; }
.nd-breed-article .bp-stat b { font-size: 1.18rem; color: var(--bpx-green); font-variant-numeric: tabular-nums; }
.nd-breed-article .bp-stat span { font-size: .84rem; color: var(--bpx-muted); }

/* ---------- Price table ---------- */
.nd-breed-article .bp-table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--bpx-line); border-radius: 16px; overflow: hidden; margin: 0; }
.nd-breed-article .bp-table th { background: var(--bpx-green); font-size: .86rem; font-weight: 600; letter-spacing: .02em; padding: 15px 20px; }
.nd-breed-article .bp-table td { padding: 15px 20px; font-size: .98rem; border-top: 1px solid var(--bpx-line); transition: background-color .2s var(--bpx-ease); }
.nd-breed-article .bp-table tr:first-child td { border-top: 0; }
.nd-breed-article .bp-table tr:nth-child(even) td { background: #fcfaf6; }
.nd-breed-article .bp-table tbody tr:hover td { background: #fff4ec; }
.nd-breed-article .bp-table td:last-child { white-space: nowrap; }
.nd-breed-article .bp-table td b { color: var(--bpx-green); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Example puppies ---------- */
.nd-breed-article .bp-ex { gap: 18px; margin: 0; }
.nd-breed-article .bp-ex .c { border-color: var(--bpx-line); border-radius: 16px; transition: transform .35s var(--bpx-ease), box-shadow .35s var(--bpx-ease), border-color .35s var(--bpx-ease); }
.nd-breed-article .bp-ex .c:hover { transform: translateY(-4px); border-color: #e4d5c1; box-shadow: 0 18px 36px -22px rgba(23,41,28,.45); }
.nd-breed-article .bp-ex .c .im { height: auto; aspect-ratio: 4 / 3; transition: transform .6s var(--bpx-ease); }
.nd-breed-article .bp-ex .c:hover .im { transform: scale(1.05); }
.nd-breed-article .bp-ex .c .b { padding: 14px 16px 16px; position: relative; background: #fff; }
.nd-breed-article .bp-ex .c .b h4 { font-family: var(--bpx-serif); font-size: 1.05rem; margin: 0 0 6px; }
.nd-breed-article .bp-ex .c .b .pr { font-size: .95rem; font-variant-numeric: tabular-nums; }
.nd-breed-article .bp-ex .c .b p { font-size: .86rem; color: var(--bpx-muted); line-height: 1.5; }

/* Health note: reassurance reads green, not warning orange */
.nd-breed-article .bp-note { background: #eef4ec; border-color: #d3e2cf; color: #24402c; border-radius: 12px; padding: 14px 18px; margin: 20px 0 0; font-size: .94rem; font-weight: 500; }
.nd-breed-article .bp-note svg { color: #2f6b3d; }

/* ---------- Factors + where to buy: icon list instead of a row of tiny tiles ---------- */
.nd-breed-article .bp-icons,
.nd-breed-article .bp-icons.w4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 40px; row-gap: 0; margin: 0; text-align: left; }
.nd-breed-article .bp-icons .i { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--bpx-line); }
.nd-breed-article .bp-icons .i .ic { grid-row: span 2; width: 46px; height: 46px; margin: 0; background: #fff4ec; border-color: #f6dccd; }
.nd-breed-article .bp-icons .i .ic svg { width: 22px; height: 22px; }
.nd-breed-article .bp-icons .i h5 { font-size: 1rem; color: var(--bpx-green); margin: 2px 0 4px; }
.nd-breed-article .bp-icons .i p { font-size: .9rem; color: var(--bpx-muted); line-height: 1.55; }

/* ---------- Buying tips: a real sequence, drawn as connected steps ---------- */
.nd-breed-article .bp-tips { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: 0; }
.nd-breed-article .bp-tips::before { content: ''; position: absolute; top: 23px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, #f0c6b0 0 8px, transparent 8px 14px); }
.nd-breed-article .bp-tips .ar { display: none; }
.nd-breed-article .bp-tips .t { position: relative; min-width: 0; }
.nd-breed-article .bp-tips .t .n { background: #fff; width: 48px; height: 48px; margin: 0 auto 14px; font-size: .95rem; font-variant-numeric: tabular-nums; transition: background-color .25s var(--bpx-ease), color .25s var(--bpx-ease); }
.nd-breed-article .bp-tips .t:hover .n { background: var(--bpx-orange); color: #fff; }
.nd-breed-article .bp-tips .t p { font-size: .9rem; color: var(--bpx-ink); line-height: 1.55; text-wrap: pretty; }

/* ---------- Monthly expenses ---------- */
.nd-breed-article .bp-exp { border-color: var(--bpx-line); border-radius: 16px; margin: 0; background: #fff; }
.nd-breed-article .bp-exp .e { padding: 20px 14px; border-color: var(--bpx-line); }
.nd-breed-article .bp-exp .e .ic { color: var(--bpx-orange); }
.nd-breed-article .bp-exp .e h5 { font-size: .92rem; margin: 8px 0 4px; }
.nd-breed-article .bp-exp .e span { font-size: .86rem; color: var(--bpx-muted); font-variant-numeric: tabular-nums; }
.nd-breed-article .bp-exp .tot { background: var(--bpx-green); }
.nd-breed-article .bp-exp .tot b { font-family: var(--bpx-serif); font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.nd-breed-article .bp-exp .tot small { opacity: 1; color: #cdd8c9; font-size: .78rem; }

/* ---------- Bottom CTA ---------- */
.nd-breed-article .bp-cta { border-radius: 20px; padding: clamp(26px, 4vw, 38px) clamp(22px, 4vw, 44px); margin: clamp(48px, 6vw, 68px) 0 0; }
.nd-breed-article .bp-cta .ct b { font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.25; margin-bottom: 6px; }
.nd-breed-article .bp-cta .ct span { color: #d6dfd2; font-size: .98rem; }

/* ---------- Sidebar ---------- */
.nd-breed-article .bp-main { gap: clamp(32px, 4vw, 52px); }
.nd-breed-article .bp-expert { border-radius: 20px; padding: 30px 24px; }
.nd-breed-article .bp-expert .t { letter-spacing: .14em; font-size: .74rem; color: #c3cfbf; }
.nd-breed-article .bp-expert p { font-size: .92rem; color: #dbe3d8; line-height: 1.7; }
.nd-breed-article .bp-card { border-color: var(--bpx-line); border-radius: 18px; padding: 22px; background: #fff; }
.nd-breed-article .bp-card h4 { font-size: 1.2rem; margin-bottom: 12px; }
.nd-breed-article .bp-toc a { color: var(--bpx-ink); font-size: .94rem; padding: 10px 0; border-bottom-style: solid; transition: color .2s var(--bpx-ease), padding-left .25s var(--bpx-ease); }
.nd-breed-article .bp-toc a:hover { color: var(--bpx-orange-dk); padding-left: 4px; }
.nd-breed-article .bp-help { background: var(--bpx-cream); }
.nd-breed-article .bp-help p { font-size: .92rem; color: var(--bpx-muted); line-height: 1.6; }
.nd-breed-article .bp-phone { border-radius: 10px; min-height: 46px; transition: background-color .2s var(--bpx-ease); }
.nd-breed-article .bp-phone:hover { background: var(--bpx-green-2); }
.nd-breed-article .bp-rel a { padding: 10px 0; border-radius: 10px; transition: transform .25s var(--bpx-ease); }
.nd-breed-article .bp-rel a:hover { transform: translateX(3px); }
.nd-breed-article .bp-rel a .th { width: 54px; height: 54px; border-radius: 12px; }
.nd-breed-article .bp-rel a b { font-size: .95rem; }
.nd-breed-article .bp-rel a span { font-size: .82rem; color: var(--bpx-muted); }

/* ---------- FAQ ---------- */
.nd-breed-article .bp-faq h4 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 6px; }
.nd-breed-article .bp-faq details { padding: 0; border-bottom-color: var(--bpx-line); }
.nd-breed-article .bp-faq details:last-of-type { border-bottom: 0; }
.nd-breed-article .bp-faq summary { font-size: 1rem; font-weight: 500; color: var(--bpx-ink); padding: 15px 0; min-height: 44px; align-items: center; transition: color .2s var(--bpx-ease); }
.nd-breed-article .bp-faq summary:hover { color: var(--bpx-orange-dk); }
.nd-breed-article .bp-faq summary:after { flex: 0 0 26px; height: 26px; border-radius: 50%; background: #fff4ec; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; line-height: 1; }
.nd-breed-article .bp-faq details p { font-size: .95rem; color: var(--bpx-muted); line-height: 1.7; margin: 0 0 16px; max-width: 75ch; }
.nd-breed-article .bp-faq details[open] p { animation: bpx-reveal .35s var(--bpx-ease); }
@keyframes bpx-reveal { from { opacity: .3; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nd-breed-article .bp-faq-after .bp-faq { padding: clamp(22px, 3.5vw, 34px); }

/* ---------- Appended Jaipur guide (4 breeds) ---------- */
.nd-breed-article [class*="-jaipur-guide"] h2,
.nd-breed-article [class*="-jaipur-guide"] h3[class*="title"],
.nd-breed-article [class*="-guide-cta"] h3,
.nd-breed-article [class*="-summary-card"] h3 { font-family: var(--bpx-serif); }
.nd-breed-article [class*="-jaipur-guide"] h2 { font-weight: 700; letter-spacing: -.005em; text-wrap: balance; }
.nd-breed-article [class*="-jaipur-guide"] h3 { text-wrap: balance; }
.nd-breed-article [class*="-jaipur-guide"] p,
.nd-breed-article [class*="-jaipur-guide"] li { color: var(--bpx-muted); text-wrap: pretty; }
.nd-breed-article section.nd-guide-scroll {
  border-radius: 20px;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent);
          mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent);
  padding-bottom: 56px;
}
.nd-breed-article [class*="-guide-cta"] { border-radius: 20px; padding: clamp(24px, 4vw, 36px) !important; }
.nd-breed-article [class*="-guide-cta"] a { min-height: 46px; display: inline-flex !important; align-items: center; border-radius: 10px !important; transition: background-color .2s var(--bpx-ease), transform .2s var(--bpx-ease); }
.nd-breed-article [class*="-guide-cta"] a:hover { transform: translateY(-1px); }

/* ---------- Focus ---------- */
.nd-breed-article a:focus-visible,
.nd-breed-article summary:focus-visible { outline: 2px solid var(--bpx-orange); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .nd-breed-article .bp-hero { min-height: 0; }
  .nd-breed-article .bp-hero .himg { min-height: 260px; }
  .nd-breed-article .bp-ex { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nd-breed-article .bp-tips { grid-template-columns: 1fr; gap: 0; }
  .nd-breed-article .bp-tips::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #f0c6b0 0 8px, transparent 8px 14px); }
  .nd-breed-article .bp-tips .t { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: center; text-align: left; padding: 8px 0; min-width: 0; }
  .nd-breed-article .bp-tips .t .n { margin: 0; }
  .nd-breed-article .bp-tips .t p { font-size: .95rem; }
  .nd-breed-article .bp-exp .e { border-bottom: 1px solid var(--bpx-line); }
  .nd-breed-article .bp-exp .e:nth-child(2n) { border-right: 0; }
  .nd-breed-article .bp-exp .e:nth-child(odd):nth-last-child(2) { grid-column: 1 / -1; border-right: 0; }
}

/* ---------- Phone ---------- */
@media (max-width: 600px) {
  .nd-breed-article .bp-hero { border-radius: 20px; }
  .nd-breed-article .bp-hero .htxt { padding: 30px 22px 32px; }
  .nd-breed-article .bp-price { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 16px; }
  .nd-breed-article .bp-price small { max-width: none; }
  .nd-breed-article .bp-stat { flex-direction: column; align-items: flex-start; padding: 16px; gap: 10px; }
  .nd-breed-article .bp-stat .si { width: 36px; height: 36px; }
  .nd-breed-article .bp-stat b { font-size: 1.05rem; line-height: 1.25; }
  .nd-breed-article .bp-stat span { display: block; font-size: .8rem; line-height: 1.35; margin-top: 3px; }
  .nd-breed-article .bp-stat:nth-child(-n+2) { border-bottom: 1px solid var(--bpx-line); }
  .nd-breed-article .bp-table th, .nd-breed-article .bp-table td { padding: 13px 14px; }
  .nd-breed-article .bp-table td { font-size: .94rem; }
  .nd-breed-article .bp-table td:last-child { white-space: normal; }
  .nd-breed-article .bp-ex { gap: 12px; }
  .nd-breed-article .bp-ex .c .b { padding: 12px; }
  .nd-breed-article .bp-ex .c .b h4 { font-size: .98rem; }
  .nd-breed-article .bp-ex .c .b .pr { font-size: .88rem; }
  .nd-breed-article .bp-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nd-breed-article .bp-faq summary { font-size: .97rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .nd-breed-article *,
  .nd-breed-article *::before,
  .nd-breed-article *::after { animation: none !important; transition: none !important; }
  .nd-breed-article .bp-ex .c:hover,
  .nd-breed-article .bp-ex .c:hover .im,
  .nd-breed-article .bp-rel a:hover,
  .nd-breed-article .bp-btn.wa:hover { transform: none; }
}
