/* ===================================================
   NIB DIER DETAIL  (AnimalDetails.razor)
   =================================================== */

/* ── Hoofd-layout ─────────────────────────────────────── */
.animal-detail-main > .nib-gd-block-header {
    padding: 0;
}

.animal-detail-head-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
}

.animal-detail-head-left {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 2rem;
}

.animal-detail-head-right {
    min-height: 280px;
    background: color-mix(in oklab, var(--group-color, #7650b8), white 20%);
}

.animal-detail-summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    overflow: hidden;
}

.animal-detail-hero-skeleton {
    width: 100%;
    height: 100%;
    min-height: 280px;
}

.animal-detail-hero-image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.animal-detail-hero-trigger {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.animal-detail-hero-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in oklab, var(--group-color, #7650b8), white 35%);
}

.animal-detail-hero-placeholder img {
    width: 110px;
    opacity: .7;
}

.animal-detail-photo-skeleton {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0.75rem;
}

.animal-detail-sub-footer {
    padding: .75rem;
    border-top: 1px solid var(--rz-base-300);
}

.animal-detail-link-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    font-weight: 600;
}

.animal-detail-obs-item {
    border-bottom: 1px solid var(--rz-base-300);
}

@media (max-width: 768px) {
    .animal-detail-photo-skeleton {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .animal-detail-head-grid {
        grid-template-columns: 1fr;
    }

    .animal-detail-head-left {
        padding: 1.1rem 1rem;
    }

    .animal-detail-head-right,
    .animal-detail-hero-image,
    .animal-detail-hero-placeholder,
    .animal-detail-hero-skeleton {
        min-height: 220px;
    }
}
