.hzm-litter {
    --hzm-accent: #c8102e;
    --hzm-text: #111111;
    --hzm-muted: #5f6368;
    --hzm-soft: #f4f4f4;
    color: var(--hzm-text);
    font-family: inherit;
}

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

.hzm-parents {
    display: grid;
    gap: clamp(36px, 6vw, 96px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto;
    width: min(100%, 1680px);
}

.hzm-parent {
    text-align: center;
}

.hzm-parent h3 {
    color: var(--hzm-text);
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 auto 36px;
    padding-bottom: 12px;
    position: relative;
    width: min(68%, 380px);
}

.hzm-parent h3::after {
    background: var(--hzm-accent);
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 100%;
}

.hzm-parent__image {
    aspect-ratio: 1.35 / 1;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow 160ms ease, border-color 160ms ease;
    width: 100%;
}

.hzm-litter--image-border .hzm-parent__image,
.hzm-litter--image-border-shadow .hzm-parent__image {
    border: 1px solid #e2e2e2;
}

.hzm-litter--image-shadow .hzm-parent__image,
.hzm-litter--image-border-shadow .hzm-parent__image {
    box-shadow: 0 16px 36px rgba(17, 17, 17, 0.12);
}

.hzm-parent__image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.hzm-parent__image--custom-placeholder img {
    object-fit: contain;
}

.hzm-parent__image--empty,
.hzm-parent__image--placeholder {
    border: 1px dashed #c8c8c8;
    position: relative;
}

.hzm-parent__image--placeholder::before,
.hzm-parent__image--placeholder::after,
.hzm-parent__image--empty::before,
.hzm-parent__image--empty::after {
    background: #d2d2d2;
    content: "";
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.hzm-parent__image--placeholder::before,
.hzm-parent__image--empty::before {
    border-radius: 50%;
    height: 86px;
    top: 31%;
    width: 86px;
}

.hzm-parent__image--placeholder::after,
.hzm-parent__image--empty::after {
    border-radius: 90px 90px 0 0;
    bottom: 24%;
    height: 76px;
    width: 160px;
}

.hzm-parent__name {
    color: var(--hzm-text);
    font-size: clamp(17px, 1.3vw, 22px);
    font-weight: 800;
    line-height: 1.25;
    margin: 8px 0 0;
}

.hzm-parent__facts {
    display: grid;
    gap: 4px;
    margin: 14px auto 0;
    max-width: 620px;
    text-align: left;
}

.hzm-parent__facts div {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
}

.hzm-parent__facts dt,
.hzm-parent__facts dd {
    color: var(--hzm-muted);
    font-size: 14px;
    line-height: 1.35;
    margin: 0;
}

.hzm-parent__facts dt {
    font-weight: 800;
}

.hzm-parent__name a,
.hzm-parent__link {
    color: inherit;
    text-decoration: none;
}

.hzm-parent__name a:hover,
.hzm-parent__link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hzm-parent__text {
    color: var(--hzm-muted);
    font-size: 15px;
    line-height: 1.55;
    margin: 8px auto 0;
    max-width: 560px;
}

.hzm-parent__text p {
    margin: 0 0 8px;
}

.hzm-parent__link {
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    margin-top: 8px;
}

.hzm-litter__details {
    margin: 48px auto 0;
    max-width: 920px;
    text-align: center;
}

.hzm-litter__details h2,
.hzm-journal > h3,
.hzm-journal-entry h4 {
    color: var(--hzm-text);
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0;
}

.hzm-litter__details h2 {
    font-size: clamp(24px, 2.5vw, 34px);
}

.hzm-litter__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
}

.hzm-litter__meta span {
    border: 1px solid #d9d9d9;
    border-radius: 999px;
    color: var(--hzm-muted);
    font-size: 14px;
    padding: 6px 12px;
}

.hzm-litter__text,
.hzm-journal-entry__text {
    color: var(--hzm-muted);
    line-height: 1.65;
    margin-top: 16px;
}

.hzm-journal {
    border-top: 1px solid #e1e1e1;
    margin-top: 48px;
    padding-top: 28px;
}

.hzm-journal > h3 {
    font-size: 26px;
    margin-bottom: 18px;
}

.hzm-journal-entry {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 0.8fr) minmax(260px, 1.2fr);
    padding: 22px 0;
}

.hzm-journal-entry + .hzm-journal-entry {
    border-top: 1px solid #e1e1e1;
}

.hzm-journal-entry time {
    color: var(--hzm-muted);
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.hzm-gallery {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hzm-gallery figure {
    aspect-ratio: 1 / 1;
    background: var(--hzm-soft);
    border-radius: 10px;
    margin: 0;
    overflow: hidden;
}

.hzm-gallery img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.hzm-notice {
    color: var(--hzm-muted);
}

@media (max-width: 760px) {
    .hzm-parents,
    .hzm-journal-entry {
        grid-template-columns: 1fr;
    }

    .hzm-parent h3 {
        margin-bottom: 22px;
        width: min(78%, 320px);
    }

    .hzm-parent__image {
        border-radius: 14px;
    }

    .hzm-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hzm-parent__facts div {
        gap: 2px;
        grid-template-columns: 1fr;
    }
}
