/**
 * PupLookUp design system
 *
 * The single source of truth for colour, type, spacing and the core components.
 * Every value the rest of the theme uses should come from a custom property
 * declared here — if a template needs a raw hex or a magic pixel value, the
 * token is missing and belongs in this file.
 *
 * The brand colours are not new. #458318 (green), #4c84db (blue), #e2ecf8
 * (panel blue) and #98b8eb are lifted unchanged from the 2012 stylesheet and
 * anchored into proper ramps, so the site still reads as PupLookUp.
 *
 * Load order: style.css first, then this file, then plu-chrome.css. Legacy
 * templates still carry `#content` and friends, whose ID selectors outrank
 * everything here on purpose — they keep their current appearance until their
 * template is rebuilt. Rebuilt templates drop those IDs and pick up the
 * classes below.
 *
 * Specificity contract, and the whole file depends on it:
 *   base       :where(.plu-page) el   (0,0,1)  — scoped but weightless
 *   components .plu-thing             (0,1,0)  — always beats base
 *   legacy     #content …             (1,x,x)  — always beats both, by design
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
    /* --- Palette (2026-11-23, design direction "C v2 Personal") --------
       Coral is the action colour, navy the ink, sun the highlight, sky a
       soft secondary, paper the page. Chosen with the owner over several
       rounds of mockups (design/mockups/c2.py in the repo). */
    --plu-coral-50:  #fff1ee;
    --plu-coral-100: #ffe0da;
    --plu-coral-200: #fcc0b5;
    --plu-coral-300: #f79a8b;
    --plu-coral-400: #f27767;
    --plu-coral-500: #ee5e4e;   /* action */
    --plu-coral-600: #d84a3a;
    --plu-coral-700: #c9402f;   /* coral text on paper: 4.6:1 */
    --plu-coral-800: #a3301f;
    --plu-coral-900: #7d2416;

    --plu-navy-50:  #f3f5fa;
    --plu-navy-100: #e3e8f2;
    --plu-navy-200: #c7cfe0;
    --plu-navy-300: #a0abc4;
    --plu-navy-400: #7884a2;
    --plu-navy-500: #5d6680;   /* muted text: 5.6:1 on paper */
    --plu-navy-600: #46506b;
    --plu-navy-700: #343e58;
    --plu-navy-800: #1f2a44;   /* ink */
    --plu-navy-900: #141c30;

    --plu-sun-100:  #fff1c9;
    --plu-sun-300:  #ffdc7a;
    --plu-sun-500:  #ffc83d;
    --plu-sun-700:  #d9a21e;
    --plu-sky-100:  #e9f3fb;
    --plu-sky-300:  #d7eaf8;
    --plu-sky-500:  #96c4ec;
    --plu-paper:    #fffbf3;
    --plu-paper-line: #e8dfcf;

    /* --- Legacy ramp names, now ALIASES into the palette above ---------
       The July redesign called its action colour "green" and its link/panel
       colour "blue", and ~60 rules across the theme still use those names.
       Rather than touch every one in this pass, the names now resolve to
       coral (action) and navy/sky (ink and soft panels). Rename them as
       templates are revisited; new rules should use the palette names. */
    --plu-green-50:  var(--plu-coral-50);
    --plu-green-100: var(--plu-coral-100);
    --plu-green-200: var(--plu-coral-200);
    --plu-green-300: var(--plu-coral-300);
    --plu-green-400: var(--plu-coral-400);
    --plu-green-500: var(--plu-coral-500);
    --plu-green-600: var(--plu-coral-500);
    --plu-green-700: var(--plu-coral-700);
    --plu-green-800: var(--plu-coral-800);
    --plu-green-900: var(--plu-coral-900);

    --plu-blue-50:  var(--plu-paper);
    --plu-blue-100: var(--plu-sky-100);
    --plu-blue-200: var(--plu-sky-300);
    --plu-blue-300: var(--plu-sky-500);
    --plu-blue-400: var(--plu-navy-400);
    --plu-blue-500: var(--plu-navy-600);
    --plu-blue-600: var(--plu-navy-700);
    --plu-blue-700: var(--plu-navy-800);
    --plu-blue-800: var(--plu-navy-800);
    --plu-blue-900: var(--plu-navy-900);

    /* --- Neutrals (warm, to sit on paper) ----------------------------- */
    --plu-white:     #ffffff;
    --plu-gray-50:   #fbf7ef;
    --plu-gray-100:  #f3ede2;
    --plu-gray-200:  #e8dfcf;
    --plu-gray-300:  #d6cbb7;
    --plu-gray-400:  #a39a8a;
    --plu-gray-500:  var(--plu-navy-500);
    --plu-gray-600:  var(--plu-navy-600);
    --plu-gray-700:  var(--plu-navy-700);
    --plu-gray-800:  var(--plu-navy-800);
    --plu-gray-900:  var(--plu-navy-900);

    /* --- Semantic ----------------------------------------------------- */
    --plu-accent:        var(--plu-sun-500);
    --plu-accent-ink:    var(--plu-navy-800);
    --plu-danger:        #c62828;
    --plu-danger-bg:     #fdecea;
    --plu-warning:       #b86e00;
    --plu-warning-bg:    #fff8e6;
    --plu-success:       #2f7d4f;
    --plu-success-bg:    #e9f6ee;

    /* --- Applied colour ----------------------------------------------- */
    --plu-bg:            var(--plu-paper);
    --plu-surface:       var(--plu-white);
    --plu-surface-sunk:  var(--plu-gray-50);
    --plu-border:        var(--plu-paper-line);
    --plu-border-strong: var(--plu-gray-300);

    --plu-text:          var(--plu-navy-800);
    --plu-text-muted:    var(--plu-navy-500);
    --plu-text-faint:    var(--plu-gray-400);
    --plu-text-invert:   var(--plu-white);

    --plu-link:          var(--plu-coral-700);
    --plu-link-hover:    var(--plu-navy-800);

    /* --- Typography ---------------------------------------------------
       Self-hosted in css/plu-fonts.css. Londrina Solid has no Latin
       Extended glyphs, so the display stack falls back to Figtree Bold for
       the odd accented letter in a heading. */
    --plu-font-display: "Londrina Solid", "Figtree", Impact, sans-serif;
    --plu-font-body:    "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --plu-font-hand:    "Caveat", "Segoe Print", "Bradley Hand", cursive;
    --plu-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    /* Hand-drawn border radius: uneven corners read as drawn, not machined. */
    --plu-radius-sketch:   255px 14px 225px 14px / 14px 225px 14px 255px;
    --plu-radius-sketch-2: 12px 225px 15px 255px / 255px 15px 225px 12px;
    /* --plu-radius-sketch mirrored left to right: the blue buttons' edge (2026-11-24). */
    --plu-radius-sketch-rev: 14px 255px 14px 225px / 225px 14px 255px 14px;
    --plu-shadow-snap: 0 1px 2px rgba(0,0,0,.08), 0 14px 28px -18px rgba(31,42,68,.55);
    --plu-shadow-offset: 5px 6px 0 var(--plu-sun-500);

    /* Minor-third scale on a 16px root. Body was 13px; the smallest step
       here is 12px and it is for metadata only, never paragraphs. */
    --plu-text-xs:   0.75rem;    /* 12px */
    --plu-text-sm:   0.875rem;   /* 14px */
    --plu-text-base: 1rem;       /* 16px */
    --plu-text-lg:   1.125rem;   /* 18px */
    --plu-text-xl:   1.375rem;   /* 22px */
    --plu-text-2xl:  2rem;       /* 32px: Londrina is condensed, so display sizes run larger */
    --plu-text-3xl:  clamp(2.25rem, 1.8rem + 1.8vw, 3.1rem);
    --plu-text-4xl:  clamp(2.7rem, 1.9rem + 3.2vw, 4.6rem);

    --plu-leading-tight:   1.15;
    --plu-leading-snug:    1.3;
    --plu-leading-normal:  1.6;
    --plu-leading-relaxed: 1.75;

    --plu-weight-normal:   400;
    --plu-weight-medium:   500;
    --plu-weight-semibold: 600;
    --plu-weight-bold:     700;
    --plu-weight-black:    900;

    --plu-tracking-tight: 0.005em;
    --plu-tracking-wide:  0.02em;
    --plu-tracking-caps:  0.06em;

    /* --- Spacing (4px base) ------------------------------------------- */
    --plu-space-0:  0;
    --plu-space-1:  0.25rem;
    --plu-space-2:  0.5rem;
    --plu-space-3:  0.75rem;
    --plu-space-4:  1rem;
    --plu-space-5:  1.25rem;
    --plu-space-6:  1.5rem;
    --plu-space-8:  2rem;
    --plu-space-10: 2.5rem;
    --plu-space-12: 3rem;
    --plu-space-16: 4rem;
    --plu-space-20: 5rem;
    --plu-space-24: 6rem;

    /* --- Radii -------------------------------------------------------- */
    --plu-radius-sm:   4px;
    --plu-radius-md:   8px;
    --plu-radius-lg:   12px;
    --plu-radius-xl:   16px;
    --plu-radius-full: 999px;

    /* --- Elevation ---------------------------------------------------- */
    --plu-shadow-sm: 0 1px 2px rgba(23, 28, 35, 0.06),
                     0 1px 3px rgba(23, 28, 35, 0.08);
    --plu-shadow-md: 0 2px 4px rgba(23, 28, 35, 0.05),
                     0 4px 12px rgba(23, 28, 35, 0.08);
    --plu-shadow-lg: 0 4px 8px rgba(23, 28, 35, 0.05),
                     0 12px 28px rgba(23, 28, 35, 0.10);

    /* --- Layout ------------------------------------------------------- */
    --plu-container:        1200px;
    --plu-container-narrow: 760px;
    --plu-gutter:           var(--plu-space-4);
    --plu-header-height:    72px;

    /* --- Motion ------------------------------------------------------- */
    --plu-transition: 150ms ease;

    /* --- Focus -------------------------------------------------------- */
    --plu-focus-ring: 0 0 0 3px var(--plu-paper),
                      0 0 0 6px var(--plu-coral-500);

    /* --- Stacking ----------------------------------------------------- */
    --plu-z-header:   100;
    --plu-z-drawer:   200;
    --plu-z-overlay:  190;
}

@media (min-width: 48rem) {
    :root { --plu-gutter: var(--plu-space-6); }
}

/* ==========================================================================
   2. Base
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html {
    /* Every size in this file is expressed in rem, and rem resolves against the ROOT
       element — so the legacy `html, body { font-size: 13px }` was quietly scaling the
       entire type scale to 81% of its declared value. A 16px body rendered at 13px and a
       1.125rem nav link at 14.6px. Same specificity as the legacy rule (0,0,1), and this
       sheet loads after it, so the tie falls here.

       100% rather than 16px on purpose: it honours the reader's own browser font-size
       setting instead of overriding it. */
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Base element styles are scoped with :where(.plu-page), not .plu-page.
 *
 * This matters more than it looks. `.plu-page a` is specificity (0,1,1) — a class plus an
 * element — which outranks every single-class component rule such as .plu-nav__link at
 * (0,1,0). Written that way, the base link colour beat the account button's own style and
 * painted it blue on green. Every component built from here on would have hit the same wall.
 *
 * :where() contributes zero specificity, so `:where(.plu-page) a` is (0,0,1): still scoped
 * to the redesigned shell and still kept out of wp-admin and the CKEditor iframe, but now
 * genuinely a base layer that any component class overrides simply by existing.
 *
 * Rule of thumb for the rest of the redesign: base styles at element specificity,
 * components at class specificity, and nothing needs !important.
 */
.plu-page {
    font-family: var(--plu-font-body);
    font-size: var(--plu-text-base);
    line-height: var(--plu-leading-normal);
    color: var(--plu-text);
    background-color: var(--plu-bg);
}

/* Responsive images, but NOT display:block.
   The usual modern reset blocks images to kill the inline baseline gap. That cannot be
   applied globally here: legacy templates still lay images out inline, and blocking them
   stacked the four breed badges on 666 breed pages into a vertical column. New components
   set display:block themselves where they want it. */
:where(.plu-page) img,
:where(.plu-page) picture,
:where(.plu-page) video,
:where(.plu-page) canvas,
:where(.plu-page) svg {
    max-width: 100%;
    height: auto;
}

:where(.plu-page) input,
:where(.plu-page) button,
:where(.plu-page) textarea,
:where(.plu-page) select {
    font: inherit;
    color: inherit;
}

:where(.plu-page) h1,
:where(.plu-page) h2,
:where(.plu-page) h3,
:where(.plu-page) h4,
:where(.plu-page) h5,
:where(.plu-page) h6 {
    font-family: var(--plu-font-display);
    /* Londrina Solid ships one weight (900); asking for it explicitly avoids faux-bold. */
    font-weight: var(--plu-weight-black);
    line-height: 1.05;
    letter-spacing: var(--plu-tracking-tight);
    color: var(--plu-gray-900);
    text-wrap: balance;
    margin: 0;
}

:where(.plu-page) h1 { font-size: var(--plu-text-3xl); font-weight: var(--plu-weight-black); }
:where(.plu-page) h2 { font-size: var(--plu-text-2xl); }
:where(.plu-page) h3 { font-size: var(--plu-text-xl); }
:where(.plu-page) h4 { font-size: var(--plu-text-lg); }
:where(.plu-page) h5 { font-size: var(--plu-text-base); }
:where(.plu-page) h6 {
    font-size: var(--plu-text-sm);
    letter-spacing: var(--plu-tracking-caps);
    text-transform: uppercase;
    color: var(--plu-text-muted);
}

:where(.plu-page) p { margin: 0; }
:where(.plu-page) p + p { margin-top: var(--plu-space-4); }

:where(.plu-page) a {
    color: var(--plu-link);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
    transition: color var(--plu-transition);
}
:where(.plu-page) a:hover { color: var(--plu-link-hover); }

:where(.plu-page) :focus-visible {
    outline: none;
    box-shadow: var(--plu-focus-ring);
    border-radius: var(--plu-radius-sm);
}

:where(.plu-page) hr {
    height: 1px;
    border: 0;
    margin: var(--plu-space-8) 0;
    background: var(--plu-border);
}

/* ==========================================================================
   3. Utilities
   ========================================================================== */

.plu-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Keyboard escape hatch past the header — the first focusable thing on the
   page, visible only once focused. */
.plu-skip-link {
    position: absolute;
    top: var(--plu-space-2);
    left: var(--plu-space-2);
    z-index: calc(var(--plu-z-drawer) + 10);
    padding: var(--plu-space-3) var(--plu-space-4);
    background: var(--plu-white);
    border-radius: var(--plu-radius-md);
    box-shadow: var(--plu-shadow-md);
    font-weight: var(--plu-weight-semibold);
    transform: translateY(-150%);
}
.plu-skip-link:focus { transform: translateY(0); }

.plu-muted { color: var(--plu-text-muted); }
.plu-small { font-size: var(--plu-text-sm); }
.plu-center { text-align: center; }

/* ==========================================================================
   4. Layout primitives
   ========================================================================== */

.plu-container {
    width: 100%;
    max-width: var(--plu-container);
    margin-inline: auto;
    padding-inline: var(--plu-gutter);
}

.plu-container--narrow { max-width: var(--plu-container-narrow); }

/* Vertical rhythm without margin collapsing surprises. */
.plu-stack > * + * { margin-top: var(--plu-space-4); }
.plu-stack--sm > * + * { margin-top: var(--plu-space-2); }
.plu-stack--lg > * + * { margin-top: var(--plu-space-8); }

.plu-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--plu-space-3);
}

/* Auto-fitting card grid. Templates set --plu-grid-min for their content;
   the default suits a breeder or puppy card. */
.plu-grid {
    display: grid;
    gap: var(--plu-space-6);
    grid-template-columns: repeat(
        auto-fill,
        minmax(min(var(--plu-grid-min, 17rem), 100%), 1fr)
    );
}

/* Content + rail. Collapses to one column below the breakpoint, and the rail
   follows the content rather than disappearing the way the 2012 sidebar did. */
.plu-with-rail {
    display: grid;
    gap: var(--plu-space-8);
    align-items: start;
}

@media (min-width: 64rem) {
    .plu-with-rail {
        grid-template-columns: minmax(0, 1fr) 19rem;
    }
    .plu-with-rail--wide-rail {
        grid-template-columns: minmax(0, 1fr) 23rem;
    }
}

.plu-main {
    display: block;
    padding-block: var(--plu-space-8) var(--plu-space-16);
}

/* ==========================================================================
   5. Surfaces
   ========================================================================== */

.plu-card {
    background: var(--plu-surface);
    border: 1px solid var(--plu-border);
    border-radius: var(--plu-radius-lg);
    box-shadow: var(--plu-shadow-sm);
    overflow: hidden;
}

.plu-card__body { padding: var(--plu-space-6); }

.plu-card__header {
    padding: var(--plu-space-5) var(--plu-space-6);
    border-bottom: 1px solid var(--plu-border);
    background: var(--plu-gray-50);
}

.plu-card--interactive {
    transition: box-shadow var(--plu-transition),
                border-color var(--plu-transition),
                transform var(--plu-transition);
}
.plu-card--interactive:hover {
    border-color: var(--plu-blue-300);
    box-shadow: var(--plu-shadow-md);
    transform: translateY(-2px);
}

.plu-panel {
    background: var(--plu-blue-50);
    border: 1px solid var(--plu-blue-200);
    border-radius: var(--plu-radius-lg);
    padding: var(--plu-space-6);
}

.plu-panel--green {
    background: var(--plu-green-50);
    border-color: var(--plu-green-200);
}

/* ==========================================================================
   6. Buttons
   ========================================================================== */

.plu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--plu-space-2);
    padding: var(--plu-space-3) var(--plu-space-5);
    /* Hand-drawn edge: uneven radii and a navy outline, as in the approved mockup. */
    border: 2.5px solid var(--plu-navy-800);
    border-radius: var(--plu-radius-sketch);
    font-family: var(--plu-font-body);
    font-size: var(--plu-text-base);
    font-weight: var(--plu-weight-bold);
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--plu-transition),
                border-color var(--plu-transition),
                color var(--plu-transition),
                box-shadow var(--plu-transition),
                transform var(--plu-transition);
    /* Comfortably past the 44px touch target on every size below. */
    min-height: 44px;
}

.plu-btn:hover { transform: rotate(-1deg) scale(1.02); }
@media (prefers-reduced-motion: reduce) { .plu-btn:hover { transform: none; } }

.plu-btn--primary {
    background: var(--plu-coral-500);
    color: var(--plu-white);
}
.plu-btn--primary:hover {
    background: var(--plu-coral-600);
    color: var(--plu-white);
}

.plu-btn--secondary {
    background: var(--plu-white);
    color: var(--plu-navy-800);
}
.plu-btn--secondary:hover {
    background: var(--plu-sun-100);
    color: var(--plu-navy-800);
}

.plu-btn--blue {
    background: var(--plu-navy-800);
    color: var(--plu-white);
    /* A navy outline vanishes into the navy fill; coral (the logo's other color) shows the
       hand-drawn edge, the way navy does on the coral buttons. */
    border-color: var(--plu-coral-500);
    border-radius: var(--plu-radius-sketch-rev);
}
.plu-btn--blue:hover {
    background: var(--plu-navy-900);
    color: var(--plu-white);
}

.plu-btn--ghost {
    background: transparent;
    border-color: transparent;
    border-radius: var(--plu-radius-md);
    color: var(--plu-link);
}
.plu-btn--ghost:hover { background: var(--plu-blue-50); }

.plu-btn--sm {
    padding: var(--plu-space-2) var(--plu-space-3);
    font-size: var(--plu-text-sm);
    min-height: 36px;
}

.plu-btn--lg {
    padding: var(--plu-space-4) var(--plu-space-8);
    font-size: var(--plu-text-lg);
    min-height: 52px;
}

.plu-btn--block { display: flex; width: 100%; }

.plu-btn[disabled],
.plu-btn[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ==========================================================================
   7. Forms
   ========================================================================== */

.plu-field { display: block; }
.plu-field + .plu-field { margin-top: var(--plu-space-5); }

.plu-label {
    display: block;
    margin-bottom: var(--plu-space-2);
    font-size: var(--plu-text-sm);
    font-weight: var(--plu-weight-semibold);
    color: var(--plu-gray-700);
}

.plu-input,
.plu-select,
.plu-textarea {
    display: block;
    width: 100%;
    padding: var(--plu-space-3) var(--plu-space-4);
    background: var(--plu-white);
    border: 1px solid var(--plu-border-strong);
    border-radius: var(--plu-radius-md);
    font-size: var(--plu-text-base);
    color: var(--plu-text);
    /* 16px minimum, or iOS Safari zooms the viewport on focus. */
    min-height: 44px;
    transition: border-color var(--plu-transition),
                box-shadow var(--plu-transition);
}

.plu-input:focus,
.plu-select:focus,
.plu-textarea:focus {
    outline: none;
    border-color: var(--plu-blue-500);
    box-shadow: 0 0 0 3px var(--plu-blue-100);
}

.plu-textarea {
    min-height: 8rem;
    line-height: var(--plu-leading-normal);
    resize: vertical;
}

.plu-select {
    appearance: none;
    padding-right: var(--plu-space-10);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236b7787' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--plu-space-4) center;
    background-size: 1rem;
}

.plu-help {
    margin-top: var(--plu-space-2);
    font-size: var(--plu-text-sm);
    color: var(--plu-text-muted);
}

.plu-field--error .plu-input,
.plu-field--error .plu-select,
.plu-field--error .plu-textarea { border-color: var(--plu-danger); }

.plu-field-error {
    margin-top: var(--plu-space-2);
    font-size: var(--plu-text-sm);
    color: var(--plu-danger);
}

/* ==========================================================================
   8. Notices
   ========================================================================== */

.plu-notice {
    padding: var(--plu-space-4) var(--plu-space-5);
    border: 1px solid var(--plu-border);
    border-left-width: 4px;
    border-radius: var(--plu-radius-md);
    background: var(--plu-gray-50);
    font-size: var(--plu-text-base);
}

.plu-notice--success {
    background: var(--plu-success-bg);
    border-color: var(--plu-green-200);
    border-left-color: var(--plu-green-600);
}
.plu-notice--warning {
    background: var(--plu-warning-bg);
    border-color: #f5e3b3;
    border-left-color: var(--plu-warning);
}
.plu-notice--error {
    background: var(--plu-danger-bg);
    border-color: #f5c6c2;
    border-left-color: var(--plu-danger);
}
.plu-notice--info {
    background: var(--plu-blue-50);
    border-color: var(--plu-blue-200);
    border-left-color: var(--plu-blue-500);
}

/* ==========================================================================
   9. Badges and pills
   ========================================================================== */

.plu-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--plu-space-1);
    padding: var(--plu-space-1) var(--plu-space-3);
    border-radius: var(--plu-radius-full);
    background: var(--plu-gray-100);
    color: var(--plu-gray-700);
    font-size: var(--plu-text-xs);
    font-weight: var(--plu-weight-semibold);
    letter-spacing: var(--plu-tracking-wide);
    white-space: nowrap;
}

.plu-badge--green { background: var(--plu-green-100); color: var(--plu-green-800); }
.plu-badge--blue  { background: var(--plu-blue-100);  color: var(--plu-blue-800); }
.plu-badge--amber { background: #fff3cd; color: #7a5600; }

/* ==========================================================================
   10. Definition rows
   Breeder contact details were "<strong>Label:</strong> value" runs of text.
   This gives them a real two-column shape that folds on small screens.
   ========================================================================== */

.plu-details {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--plu-space-2) var(--plu-space-4);
    margin: 0;
    font-size: var(--plu-text-base);
}

.plu-details dt {
    font-weight: var(--plu-weight-semibold);
    color: var(--plu-text-muted);
}

.plu-details dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: break-word;
}

@media (max-width: 30rem) {
    .plu-details { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .plu-details dt { margin-top: var(--plu-space-3); }
    .plu-details dt:first-child { margin-top: 0; }
}

/* ==========================================================================
   11. Breadcrumbs
   ========================================================================== */

.plu-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--plu-space-2);
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--plu-text-sm);
    color: var(--plu-text-muted);
}

.plu-breadcrumb li { display: flex; align-items: center; gap: var(--plu-space-2); }

.plu-breadcrumb li + li::before {
    content: "";
    width: 0.4em;
    height: 0.4em;
    border-top: 1.5px solid var(--plu-gray-400);
    border-right: 1.5px solid var(--plu-gray-400);
    transform: rotate(45deg);
}

.plu-breadcrumb a { color: var(--plu-text-muted); }
.plu-breadcrumb a:hover { color: var(--plu-link); }
.plu-breadcrumb [aria-current="page"] { color: var(--plu-gray-700); font-weight: var(--plu-weight-medium); }

/* ==========================================================================
   12. Page header
   ========================================================================== */

.plu-page-header {
    padding-bottom: var(--plu-space-6);
    margin-bottom: var(--plu-space-8);
    border-bottom: 1px solid var(--plu-border);
}

.plu-page-header__title { margin-top: var(--plu-space-3); }

.plu-page-header__lede {
    margin-top: var(--plu-space-3);
    max-width: 60ch;
    font-size: var(--plu-text-lg);
    color: var(--plu-text-muted);
}

/* ==========================================================================
   13. Advertising slots
   AdSense units currently render as bare bordered boxes when unfilled. These
   reserve space so nothing shifts, and stay invisible when empty.
   ========================================================================== */

.plu-ad {
    display: flex;
    justify-content: center;
    margin-block: var(--plu-space-8);
}

.plu-ad__label {
    display: block;
    margin-bottom: var(--plu-space-1);
    font-size: var(--plu-text-xs);
    letter-spacing: var(--plu-tracking-caps);
    text-transform: uppercase;
    color: var(--plu-text-faint);
    text-align: center;
}

/* An unfilled AdSense iframe collapses to zero height; without this the
   label would sit alone on the page. */
.plu-ad:not(:has(iframe)) .plu-ad__label { display: none; }

/* Cloudflare Turnstile bot check (inc/plu-turnstile.php). */
.plu-turnstile { margin: 14px 0; max-width: 420px; }
.plu-turnstile .cf-turnstile { min-height: 65px; }
.plu-turnstile__msg { margin: 6px 0 0; font-size: .9rem; color: var(--plu-coral-700, #b3402f); }
.plu-turnstile__msg[hidden] { display: none; }
