/**
 * PupLookUp content components.
 *
 * Shared page-level components: puppy cards, the breed fact grid, empty states, section
 * rhythm. Depends on the tokens and primitives in plu-design-system.css.
 *
 * Everything here is a class at (0,1,0), per the specificity contract at the top of the
 * design system. Nothing needs an ID, a descendant chain, or !important — if something
 * seems to, the legacy #content wrapper is probably still in the markup.
 */

/* ==========================================================================
   Section rhythm
   ========================================================================== */

.plu-section + .plu-section { margin-top: var(--plu-space-12); }

.plu-section__title {
    margin-bottom: var(--plu-space-6);
}

/* ==========================================================================
   Breadcrumb wrapper
   ========================================================================== */

.plu-breadcrumb-nav { margin-bottom: var(--plu-space-4); }

/* ==========================================================================
   Breed page
   ========================================================================== */

/* Photo and description side by side once there is room for both. */
.plu-breed__lead {
    display: grid;
    gap: var(--plu-space-8);
    align-items: start;
    margin-bottom: var(--plu-space-12);
}

@media (min-width: 56rem) {
    .plu-breed__lead--with-photo {
        grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
    }
}

.plu-breed__photo {
    margin: 0;
    border-radius: var(--plu-radius-lg);
    overflow: hidden;
    background: #fffbf3; /* the illustrations' own background, so the frame is seamless */
}

.plu-breed__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.plu-breed__prose {
    max-width: 68ch;
    line-height: var(--plu-leading-relaxed);
}

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

/* --- Fact grid --------------------------------------------------------
   The 2012 page said each of these twice: a row of seven icon images with the
   answer in the alt text, then a separate list repeating the same answers as
   text. One fact, one place, icon included. */

.plu-facts {
    display: grid;
    gap: var(--plu-space-4);
    grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.plu-fact {
    display: flex;
    align-items: flex-start;
    gap: var(--plu-space-4);
    padding: var(--plu-space-4);
    background: var(--plu-surface);
    border: 1px solid var(--plu-border);
    border-radius: var(--plu-radius-lg);
}

.plu-fact__icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plu-fact__icon img {
    display: block;
    width: 100%;
    height: auto;
}

/* Not every fact has an icon — weight, energy on an average dog, a breed that sheds. The
   placeholder holds the column so questions stay left-aligned down the grid, but it is
   transparent: a filled empty box reads as an image that failed to load. */
.plu-fact__icon--empty { background: none; }

/* Question icons (inc/plu-fact-icons.php): navy ink on a sun disc; the accent shows the answer. */
.plu-fact-svg { display: block; width: 56px; height: 56px; }
.plu-fact-svg .pfi-bg { fill: var(--plu-sun-100); }
.plu-fact-svg .pfi-ink { stroke: var(--plu-navy-800); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.plu-fact-svg .pfi-line { fill: none; }
.plu-fact-svg .pfi-acc { fill: var(--plu-coral-500); }
.plu-fact-svg .pfi-mid { fill: var(--plu-sun-500); }
.plu-fact-svg .pfi-off { fill: var(--plu-navy-200); }
.plu-fact-svg .pfi-white { fill: var(--plu-white); }
.plu-fact-svg .pfi-inkfill { fill: var(--plu-navy-800); }
.plu-fact-svg .pfi-mark { fill: none; stroke: var(--plu-white); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.plu-fact-svg .pfi-acc-line { fill: none; stroke: var(--plu-coral-500); stroke-width: 3; stroke-linecap: round; }

.plu-fact__text { min-width: 0; }

.plu-fact__q {
    margin: 0 0 var(--plu-space-1);
    font-family: var(--plu-font-body);
    font-size: var(--plu-text-sm);
    font-weight: var(--plu-weight-semibold);
    line-height: var(--plu-leading-snug);
    letter-spacing: 0;
    color: var(--plu-text-muted);
}

.plu-fact__a {
    font-size: var(--plu-text-base);
    line-height: var(--plu-leading-snug);
    color: var(--plu-text);
}

/* ==========================================================================
   Puppy card
   ========================================================================== */

.plu-pup {
    display: flex;
    flex-direction: column;
}

.plu-pup__media {
    display: block;
    background: var(--plu-gray-100);
}

.plu-pup__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.plu-pup__body {
    display: flex;
    flex-direction: column;
    gap: var(--plu-space-3);
    padding: var(--plu-space-5);
}

.plu-pup__title {
    font-size: var(--plu-text-lg);
    line-height: var(--plu-leading-snug);
}

.plu-pup__title a {
    color: var(--plu-gray-900);
    text-decoration: none;
}

.plu-pup__title a:hover {
    color: var(--plu-green-700);
    text-decoration: underline;
}

.plu-pup__price {
    align-self: flex-start;
    padding: var(--plu-space-1) var(--plu-space-3);
    border-radius: var(--plu-radius-full);
    background: var(--plu-green-100);
    color: var(--plu-green-800);
    font-size: var(--plu-text-sm);
    font-weight: var(--plu-weight-semibold);
}

.plu-pup__meta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--plu-space-1) var(--plu-space-3);
    margin: 0;
    font-size: var(--plu-text-sm);
}

.plu-pup__meta dt {
    color: var(--plu-text-muted);
}

.plu-pup__meta dd {
    margin: 0;
    min-width: 0;
    color: var(--plu-text);
    overflow-wrap: break-word;
}

.plu-pup__desc {
    font-size: var(--plu-text-sm);
    line-height: var(--plu-leading-normal);
    color: var(--plu-gray-600);

    /* Descriptions run from one line to several hundred words. Clamping keeps a grid of
       cards on a shared baseline; the full text is on the breeder's page. */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Breeder listing card
   ========================================================================== */

.plu-listing__count {
    margin-bottom: var(--plu-space-5);
    font-size: var(--plu-text-sm);
    font-weight: var(--plu-weight-semibold);
    letter-spacing: var(--plu-tracking-caps);
    text-transform: uppercase;
    color: var(--plu-text-muted);
}

/* Restyled 2026-11-25 ("C v2 Personal"): white cards with a drawn border, two across on a
   desktop, the kennel photo as a taped print beside the details. Shared by the breed and
   state directories, Breeders near me and International breeders. */
.plu-breeder-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr));
    gap: var(--plu-space-6);
}

.plu-breeder {
    display: grid;
    grid-template-columns: 9.5rem minmax(0, 1fr);
    gap: var(--plu-space-5);
    align-items: start;
    padding: var(--plu-space-5);
    background: var(--plu-white);
    border: 2px solid var(--plu-navy-800);
    border-radius: var(--plu-radius-sketch);
    box-shadow: 0 14px 28px -22px rgba(31, 42, 68, .55);
    min-width: 0;
}
.plu-breeder-list > .plu-breeder:nth-of-type(even) { border-radius: var(--plu-radius-sketch-2); }
@media (max-width: 30rem) {
    .plu-breeder { grid-template-columns: 6.25rem minmax(0, 1fr); gap: var(--plu-space-4); padding: var(--plu-space-4); }
}

/* The print: a small snapshot with tape, tilted, straightening on hover like the home page. */
.plu-breeder__print {
    position: relative;
    display: block;
    margin: 4px 0 0 2px;
    padding: 6px 6px 18px;
    background: var(--plu-white);
    box-shadow: var(--plu-shadow-snap);
    transform: rotate(var(--plu-tilt, 0deg));
    transition: transform .25s ease;
}
.plu-breeder:hover .plu-breeder__print,
.plu-breeder:focus-within .plu-breeder__print { transform: rotate(0deg) translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
    .plu-breeder__print, .plu-breeder:hover .plu-breeder__print { transform: none; transition: none; }
}
.plu-breeder__print img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--plu-paper);
}
.plu-breeder__print--art img { object-fit: contain; background: var(--plu-white); }
.plu-breeder__artnote {
    position: absolute; left: 6px; right: 6px; bottom: 2px;
    font-size: .68rem; line-height: 1.2; color: var(--plu-text-muted); text-align: center;
}
.plu-breeder__nophoto {
    display: grid; place-items: center; aspect-ratio: 1;
    background: var(--plu-paper); color: var(--plu-text-muted);
    font-size: 1.25rem; text-align: center; line-height: 1.1; padding: 8px;
}

.plu-breeder__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--plu-space-2);
    min-width: 0;
    height: 100%;
}

.plu-breeder .plu-breeder__title {
    margin: 0;
    font: 400 1.75rem/1.05 var(--plu-font-display);
    overflow-wrap: anywhere;
}
.plu-breeder .plu-breeder__title a {
    color: var(--plu-navy-800);
    text-decoration: none;
    border: 0; background: none; box-shadow: none;
}
.plu-breeder .plu-breeder__title a:hover,
.plu-breeder .plu-breeder__title a:focus-visible {
    color: var(--plu-coral-700);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.plu-breeder__meta {
    margin: 0;
    font-size: var(--plu-text-sm);
    font-weight: 600;
    color: var(--plu-text-muted);
}

.plu-breeder__status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 2px 0 0; }
.plu-breeder__status .plu-distance,
.plu-breeder__status .plu-activity { margin: 0; }
.plu-breeder__status .plu-activity--active { font-size: .82rem; }

.plu-breeder__details {
    display: flex; flex-wrap: wrap; gap: 4px 18px;
    margin: 2px 0 0;
    font-size: var(--plu-text-sm);
}
.plu-breeder__details > div { display: flex; gap: 6px; min-width: 0; }
.plu-breeder__details dt { margin: 0; color: var(--plu-text-muted); font-weight: 600; }
.plu-breeder__details dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.plu-breeder__details a { color: var(--plu-coral-700); }

.plu-breeder__desc {
    margin: 2px 0 0;
    font-size: var(--plu-text-sm);
    line-height: var(--plu-leading-normal);
    color: var(--plu-gray-600);
    overflow-wrap: anywhere;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.plu-breeder__actions {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
    margin: auto 0 0; padding-top: var(--plu-space-2); /* bottom of the card, so a row's buttons line up */
}
.plu-breeder__more { font-weight: 700; font-size: var(--plu-text-sm); color: var(--plu-coral-700); }

.plu-pup__gallery {
    display: flex;
    flex-wrap: wrap;
    gap: var(--plu-space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.plu-pup__gallery img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--plu-radius-sm);
    border: 1px solid var(--plu-border);
}

/* ==========================================================================
   Breeder profile (single.php)
   ========================================================================== */

.plu-profile__top {
    display: grid;
    gap: var(--plu-space-6);
    align-items: start;
}

@media (min-width: 48rem) {
    .plu-profile__top--with-photo {
        grid-template-columns: minmax(0, 21rem) minmax(0, 1fr);
    }
}

/*
 * Breeder photo gallery (single.php + js/plu-gallery.js). Main photo, then a fixed grid of up
 * to eight square thumbnails; when there are more, the last tile is covered by "+N". The
 * extras stay in the markup (hidden only when scripting runs) so the viewer can page through
 * all of them and no-JS visitors still reach every photo.
 */
.plu-gallery__main {
    position: relative;
    display: block;
    border-radius: var(--plu-radius-lg);
    overflow: hidden;
    background: var(--plu-gray-100);
}

.plu-gallery__main img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 26rem;
    object-fit: cover;
    transition: transform .3s ease;
}

.plu-gallery__main:hover img { transform: scale(1.02); }

.plu-gallery__count {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 3px 10px 3px 30px;
    border-radius: 999px;
    background: rgb(20 28 48 / .78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") no-repeat 10px 50% / 15px;
    color: #fff;
    font-size: var(--plu-text-xs);
    font-weight: 700;
    pointer-events: none;
}

.plu-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--plu-space-2);
    margin: var(--plu-space-2) 0 0;
    padding: 0;
    list-style: none;
}

.plu-js .plu-gallery__extra { display: none; }

.plu-gallery__thumbs a {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border-radius: var(--plu-radius-sm);
    overflow: hidden;
    background: var(--plu-gray-100);
}

.plu-gallery__thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease, opacity .25s ease;
}

.plu-gallery__thumbs a:hover img { transform: scale(1.06); }

.plu-gallery a:focus-visible {
    outline: 3px solid var(--plu-coral-500, #e8604c);
    outline-offset: 2px;
}

.plu-js .plu-gallery__more::after {
    content: attr(data-more);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgb(20 28 48 / .62);
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
    transition: background .2s ease;
}

.plu-js .plu-gallery__more:hover::after { background: rgb(20 28 48 / .75); }

/* ---- Full-screen viewer (a native <dialog> built by js/plu-gallery.js) ---- */
.plu-viewer {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgb(12 16 28 / .96);
    color: #fff;
    overscroll-behavior: contain;
}

.plu-viewer::backdrop { background: rgb(12 16 28 / .96); }

.plu-viewer[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.plu-viewer__bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .6rem .75rem .6rem 1.25rem;
    font-size: .95rem;
}

.plu-viewer__title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.plu-viewer__counter { opacity: .75; font-variant-numeric: tabular-nums; }

.plu-viewer button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / .1);
    color: #fff;
    cursor: pointer;
    transition: background .15s ease;
}

.plu-viewer button:hover { background: rgb(255 255 255 / .22); }
.plu-viewer button:focus-visible { outline: 3px solid var(--plu-coral-500, #e8604c); outline-offset: 2px; }
.plu-viewer button svg { width: 22px; height: 22px; }

.plu-viewer__stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    padding: 0 4.5rem;
    touch-action: pan-y pinch-zoom;
    user-select: none;
}

.plu-viewer__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity .18s ease;
}

/* Thumbnail stand-in while the full photo loads: same size, softly blurred, plus a spinner. */
.plu-viewer__img.is-preview {
    max-width: min(100%, 56rem);
    max-height: min(100%, 42rem);
    filter: blur(6px);
    opacity: .8;
}

.plu-viewer__stage.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border: 3px solid rgb(255 255 255 / .25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: plu-spin .8s linear infinite;
}

@keyframes plu-spin { to { transform: rotate(360deg); } }

.plu-viewer__prev,
.plu-viewer__next {
    position: absolute;
    top: 50%;
    translate: 0 -50%;
}

.plu-viewer .plu-viewer__prev { left: 1rem; }
.plu-viewer .plu-viewer__next { right: 1rem; }

.plu-viewer__rail {
    display: flex;
    gap: 6px;
    padding: .75rem 1rem 1rem;
    overflow-x: auto;
    scrollbar-width: thin;
    justify-content: safe center;
}

.plu-viewer .plu-viewer__rail button {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    opacity: .5;
    outline-offset: -3px;
}

.plu-viewer .plu-viewer__rail button[aria-current="true"] { opacity: 1; }

.plu-viewer .plu-viewer__rail button[aria-current="true"]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 6px;
    box-shadow: inset 0 0 0 3px #fff;
}

.plu-viewer .plu-viewer__rail button:hover { opacity: .9; }

.plu-viewer__rail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 40rem) {
    .plu-viewer__stage { padding: 0; }
    .plu-viewer .plu-viewer__prev,
    .plu-viewer .plu-viewer__next { background: rgb(0 0 0 / .4); }
    .plu-viewer .plu-viewer__prev { left: .5rem; }
    .plu-viewer .plu-viewer__next { right: .5rem; }
    .plu-viewer .plu-viewer__rail button { width: 52px; height: 52px; }
}

.plu-profile__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--plu-space-3);
    margin-top: var(--plu-space-5);
}

/* The report link should be present but not prominent. */
.plu-profile__report {
    margin-top: var(--plu-space-8);
    font-size: var(--plu-text-xs);
    text-align: right;
}

.plu-profile__report a { color: var(--plu-text-faint); }
.plu-profile__report a:hover { color: var(--plu-danger); }

/* The buyer-safety notice, shown on every breeder page. */
.plu-buyer-notice {
    margin-top: var(--plu-space-10);
    padding: var(--plu-space-4) var(--plu-space-5);
    border: 1px solid #f5e3b3;
    border-left: 4px solid var(--plu-warning);
    border-radius: var(--plu-radius-md);
    background: var(--plu-warning-bg);
    font-size: var(--plu-text-sm);
    color: #6b4e00;
}

/* Owner-only notices reuse .plu-notice; the admin strip is deliberately plain. */
.plu-profile__admin {
    margin-top: var(--plu-space-8);
    padding: var(--plu-space-3) var(--plu-space-4);
    border: 1px dashed var(--plu-border-strong);
    border-radius: var(--plu-radius-md);
    font-size: var(--plu-text-sm);
    color: var(--plu-text-muted);
}

/* ==========================================================================
   Home page
   ========================================================================== */

.plu-home__intro {
    max-width: 68ch;
    margin-bottom: var(--plu-space-10);
}

.plu-home__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--plu-space-4);
    margin-bottom: var(--plu-space-6);
}

.plu-home__head .plu-section__title { margin-bottom: 0; }

.plu-home__filter {
    display: flex;
    align-items: flex-end;
    gap: var(--plu-space-2);
}

.plu-home__filter .plu-label { margin-bottom: var(--plu-space-2); }
.plu-home__filter .plu-select { width: auto; min-width: 13rem; }

/* The select submits itself once scripting is available, so the button is only needed as
   the no-JS fallback. */
.plu-js .plu-home__filter-go { display: none; }

/* ==========================================================================
   Pagination
   ========================================================================== */

.plu-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--plu-space-4);
    margin-top: var(--plu-space-10);
}

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

/* ==========================================================================
   Rail (recently added breeders)
   ========================================================================== */

.plu-rail__title {
    font-size: var(--plu-text-base);
    letter-spacing: var(--plu-tracking-caps);
    text-transform: uppercase;
}

.plu-rail__title a {
    color: var(--plu-gray-700);
    text-decoration: none;
}

.plu-rail__title a:hover { color: var(--plu-green-700); }

.plu-rail__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.plu-rail__item {
    display: flex;
    align-items: center;
    gap: var(--plu-space-3);
    padding: var(--plu-space-3) var(--plu-space-5);
    border-bottom: 1px solid var(--plu-gray-100);
}

.plu-rail__item:last-child { border-bottom: 0; }

.plu-rail__media { flex: 0 0 auto; }

.plu-rail__media img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--plu-radius-md);
    background: var(--plu-gray-100);
}

.plu-rail__text { min-width: 0; }

.plu-rail__name {
    display: block;
    font-weight: var(--plu-weight-semibold);
    line-height: var(--plu-leading-snug);
    color: var(--plu-gray-900);
    text-decoration: none;
    overflow-wrap: break-word;
}

.plu-rail__name:hover { color: var(--plu-green-700); text-decoration: underline; }

.plu-rail__breed,
.plu-rail__place {
    font-size: var(--plu-text-sm);
    color: var(--plu-text-muted);
}

/* ==========================================================================
   Empty state
   ========================================================================== */

.plu-empty {
    padding: var(--plu-space-10) var(--plu-space-6);
    border: 1px dashed var(--plu-border-strong);
    border-radius: var(--plu-radius-lg);
    background: var(--plu-gray-50);
    text-align: center;
}

.plu-empty__title {
    margin-bottom: var(--plu-space-2);
    font-size: var(--plu-text-lg);
    color: var(--plu-gray-800);
}

.plu-empty__body {
    max-width: 48ch;
    margin-inline: auto;
    color: var(--plu-text-muted);
}

.plu-empty__body a { font-weight: var(--plu-weight-semibold); }

/* ==========================================================================
   Alternate-name notice
   ========================================================================== */

.plu-alt-name {
    padding: var(--plu-space-5) var(--plu-space-6);
    border: 1px solid var(--plu-blue-200);
    border-left: 4px solid var(--plu-blue-500);
    border-radius: var(--plu-radius-md);
    background: var(--plu-blue-50);
}

/* Activity tiers (inc/plu-activity.php) ---------------------------------------------------- */
.plu-activity {
    margin: var(--plu-space-1) 0 0;
    font-size: var(--plu-text-sm);
    color: var(--plu-text-muted);
}
.plu-activity--active {
    display: inline-block;
    padding: 0.1em 0.6em;
    border-radius: var(--plu-radius-full);
    background: var(--plu-success-bg);
    color: #1f5a37;
    font-weight: 600;
}
.plu-archived__alts .plu-activity--active { margin: 0 0 0 var(--plu-space-2); font-size: var(--plu-text-xs); }
.plu-activity--archived { font-style: italic; }
.plu-breeder-list__divider {
    grid-column: 1 / -1;
    margin: var(--plu-space-4) 0 0;
    padding-top: var(--plu-space-5);
    border-top: 2px dashed var(--plu-navy-200);
    font: 400 1.6rem/1.1 var(--plu-font-display);
    color: var(--plu-navy-800);
}
.plu-listing__archived {
    margin: var(--plu-space-6) 0;
    font-size: var(--plu-text-sm);
    color: var(--plu-text-muted);
}
.plu-archived p { margin: 0 0 var(--plu-space-3); }
.plu-archived__alt-title { margin: var(--plu-space-4) 0 var(--plu-space-2); font-size: var(--plu-text-base); }
.plu-archived__alts { margin: 0 0 var(--plu-space-3); padding-left: 1.2em; }
.plu-archived__alts li { margin: var(--plu-space-1) 0; }

/* Breed synonyms (inc/plu-breed-synonyms.php) */
.plu-breed__aka { font-size: var(--plu-text-sm); color: var(--plu-text-muted); }
.plu-search-breeds { margin: 0 0 var(--plu-space-6); padding: var(--plu-space-4); border: 1px solid var(--plu-gray-200, #ddd); border-radius: var(--plu-radius-md); }
.plu-search-breeds h2 { margin: 0 0 var(--plu-space-2); font-size: var(--plu-text-lg); }
.plu-search-breeds li { margin: var(--plu-space-1) 0; }

/* Dog for Me quiz (plu_quiz.php, plu_quiz_results.php) ------------------------------------ */
.plu-quiz { max-width: 860px; margin: 0 auto; }
.plu-quiz__q { border: 0; margin: 0 0 var(--plu-space-8); padding: 0; }
.plu-quiz__q legend { font-size: var(--plu-text-xl); font-weight: 700; margin-bottom: var(--plu-space-3); }
.plu-quiz__count { display: block; font-size: var(--plu-text-sm); font-weight: 400; color: var(--plu-text-muted); margin-bottom: var(--plu-space-1); }
.plu-quiz__options { display: grid; gap: var(--plu-space-2); margin: var(--plu-space-3) 0; }
.plu-quiz__opt { display: flex; gap: var(--plu-space-3); align-items: center; padding: var(--plu-space-3) var(--plu-space-4);
    border: 2px solid var(--plu-gray-200, #ddd); border-radius: var(--plu-radius-md); cursor: pointer; background: var(--plu-white, #fff); }
.plu-quiz__opt:hover { border-color: var(--plu-navy-200, #9ab); }
.plu-quiz__opt:has(input:checked) { border-color: var(--plu-navy-800, #123); background: var(--plu-paper, #f7f5ef); }
.plu-quiz__opt input { width: 1.2rem; height: 1.2rem; flex: none; }
.plu-quiz__nav { display: flex; gap: var(--plu-space-3); align-items: center; flex-wrap: wrap; margin-top: var(--plu-space-4); }
.plu-quiz__skip { background: none; border: 0; color: var(--plu-text-muted); text-decoration: underline; cursor: pointer; font: inherit; }
.plu-quiz--stepped .plu-quiz__q { min-height: 20rem; }
/* Legacy style.css gives fieldsets a display value, which beat the [hidden] attribute: every
   question showed at once and "Skip" jumped focus far down the page (fixed 2026-11-24). */
[data-plu-quiz] [hidden] { display: none !important; }
.plu-quiz__refine { padding: var(--plu-space-4); margin: 0 0 var(--plu-space-6); }
.plu-quiz__refine-fields { display: flex; flex-wrap: wrap; gap: var(--plu-space-4); align-items: flex-end; }
.plu-quiz__refine-fields label { display: grid; gap: var(--plu-space-1); font-size: var(--plu-text-sm); }
.plu-match-list { display: grid; gap: var(--plu-space-5); }
.plu-match { padding: var(--plu-space-5); }
.plu-match__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--plu-space-3); flex-wrap: wrap; }
.plu-match__name { margin: 0; font-size: var(--plu-text-xl); }
.plu-match__band { padding: 0.15em 0.7em; border-radius: var(--plu-radius-full); font-size: var(--plu-text-sm); font-weight: 700; }
.plu-match__band--great { background: var(--plu-success-bg); color: #1f5a37; }
.plu-match__band--good { background: #e8f0fb; color: #1d3f72; }
.plu-match__band--look { background: var(--plu-sun-100, #fff3cd); color: #7a5a00; }
.plu-match__facts { color: var(--plu-text-muted); margin: var(--plu-space-1) 0 var(--plu-space-3); }
.plu-match__label { margin: var(--plu-space-3) 0 var(--plu-space-1); font-size: var(--plu-text-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--plu-text-muted); }
.plu-match__why, .plu-match__watch { margin: 0; padding-left: 1.2em; }
.plu-match__watch li::marker { content: "! "; color: #a35a00; }
.plu-match__health { margin: var(--plu-space-3) 0 0; padding: var(--plu-space-3); background: var(--plu-sun-100, #fff3cd); border-radius: var(--plu-radius-md); font-size: var(--plu-text-sm); }
.plu-match__table { margin-top: var(--plu-space-3); font-size: var(--plu-text-sm); }
.plu-match__table summary { cursor: pointer; color: var(--plu-text-muted); }
.plu-match__links { display: flex; gap: var(--plu-space-4); align-items: center; flex-wrap: wrap; margin: var(--plu-space-4) 0 0; }
.plu-also li { margin: var(--plu-space-2) 0; }
.plu-quiz__rescue { padding: var(--plu-space-5); }
.plu-quiz__caveats li { margin: var(--plu-space-2) 0; }

/* Related breeds (plu3_dog_breed.php) */
.plu-related { list-style: none; padding: 0; display: grid; gap: var(--plu-space-2); grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.plu-related__item { display: grid; gap: 2px; align-content: start; padding: var(--plu-space-3); border: 1px solid var(--plu-gray-200, #ddd); border-radius: var(--plu-radius-md); background: var(--plu-white); }
.plu-related__name { font-weight: 700; margin-top: var(--plu-space-2); }
/* Photo on top: a breeder's listing photo, credited, or a drawing when there is none (2026-11-24). */
.plu-related__photo { position: relative; aspect-ratio: 4 / 3; border-radius: calc(var(--plu-radius-md) - 2px); overflow: hidden; background: var(--plu-sun-100); }
.plu-related__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.plu-related__photo > a:first-child { display: block; height: 100%; }
.plu-related__credit {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 10px 6px;
    font-size: .76rem; font-weight: 600; line-height: 1.2; text-decoration: none;
    color: var(--plu-white); text-shadow: 0 1px 2px rgba(0,0,0,.6);
    background: linear-gradient(to top, rgba(20,27,45,.72), rgba(20,27,45,0));
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#content .plu-related__credit:link, #content .plu-related__credit:visited, .plu-related__credit:hover { color: var(--plu-white); }
.plu-related__nophoto { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; text-decoration: none; }
.plu-related__nophoto .plu-fact-svg { width: 64px; height: 64px; }
.plu-related__nophoto span { font-size: .82rem; color: var(--plu-text-muted); }
.plu-related__nophoto .pfi-bg { fill: var(--plu-white); }
.plu-related__breeders { font-size: var(--plu-text-sm); }

/* ==========================================================================
   Plain WordPress pages (page.php → content-page.php), e.g. the puppy-scams guide
   ==========================================================================
   2026-11-25: style.css (2012) zeroes heading margins and strips list bullets, so long
   articles ran headings straight into the text above and lists read as loose lines.
   Article rhythm: room above each heading, tight below it, real bullets, and a readable
   line length. */
.plu-page #content > h1.top { margin: 0 0 var(--plu-space-5); }
.plu-page .entry-content { max-width: 50rem; }
.plu-page .entry-content > :first-child { margin-top: 0; }
.plu-page .entry-content p { margin: 0 0 1em; }
.plu-page .entry-content h2 { margin: 2.25rem 0 .6rem; line-height: 1.1; }
.plu-page .entry-content h3 { margin: 1.75rem 0 .4rem; font-size: 1.35rem; line-height: 1.2; }
.plu-page .entry-content h4 { margin: 1.25rem 0 .3rem; }
.plu-page .entry-content :is(h2, h3, h4) + :is(p, ul, ol) { margin-top: 0; }
.plu-page .entry-content ul,
.plu-page .entry-content ol { margin: 0 0 1.25em; padding-left: 1.5em; }
.plu-page .entry-content ul { list-style: disc; }
.plu-page .entry-content ol { list-style: decimal; }
.plu-page .entry-content li { margin: 0 0 .55em; padding-left: .2em; }
.plu-page .entry-content li::marker { color: var(--plu-coral-500); }
.plu-page .entry-content li > ul,
.plu-page .entry-content li > ol { margin: .5em 0 0; }
