/* Breed pages /breeds/{slug}/ (#329): the badge row under the H1. Everything else uses weight-page.css. */
.pp-breed__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.pp-breed__badge {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 14px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(124, 58, 10, 0.14), 0 1px 2px rgba(0, 0, 0, 0.04);
    font-variant-numeric: tabular-nums;
}

.pp-breed__badge-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9a6a3a;
}

.pp-breed__badge-value {
    font-size: 14px;
    font-weight: 600;
    color: #3d2a0f;
}

.pp-breed__about .pp-weight__text + .pp-weight__text,
.pp-breed__puppy .pp-weight__text + .pp-weight__text {
    margin-top: 10px;
}

.pp-breed .pp-weight__text a,
.pp-breed .pp-weight__lead a {
    color: #92560e;
    font-weight: 600;
}

@media (max-width: 575px) {
    .pp-breed__badge {
        flex: 1 1 calc(50% - 8px);
    }
}

.pp-breed__more {
    margin-top: 20px;
}

/* #336: the breed silhouette beside the H1 and badges; absent when the breed has no picture */
.pp-breed__head {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.pp-breed__head-text {
    flex: 1 1 auto;
    min-width: 0;
}

.pp-breed__picture {
    flex: 0 0 auto;
    width: 160px;
    height: 160px;
    border-radius: 16px;
    background: #fff;
    outline: 1px solid rgba(0, 0, 0, 0.1);
    outline-offset: -1px;
    object-fit: contain;
}

@media (max-width: 575px) {
    .pp-breed__head {
        gap: 12px;
    }

    .pp-breed__picture {
        width: 72px;
        height: 72px;
        border-radius: 12px;
    }
}

/* #336: size silhouette in the group header and a small breed picture on the /breeds/ hub cards */
.pp-breed__group-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pp-breed__group-img {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.pp-breed__hub-link--picture {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
}

.pp-breed__hub-link--picture .pp-breed__hub-img {
    grid-row: span 2;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #fff;
    outline: 1px solid rgba(0, 0, 0, 0.1);
    outline-offset: -1px;
    object-fit: contain;
}
