.mzhn-pagelayer-holder,
.mzhn-hero,
.mzhn-hero * {
    box-sizing: border-box;
}

.mzhn-pagelayer-holder,
.mzhn-hero {
    width: 100%;
    font-family: "Roboto", sans-serif;
}

.mzhn-hero {
    color: #1a1a1a;
}

.mzhn-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    padding: 0;
}

.mzhn-rubric {
    display: inline-block;
    color: #d62828;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.2s ease;
}

a.mzhn-rubric:hover,
a.mzhn-rubric:focus-visible {
    color: #eb4646;
}

.mzhn-title {
    margin: 0;
    max-width: 100%;
    display: block;
    color: #1a1a1a;
    font-size: clamp(1.25rem, 2.2vw + 0.35rem, 3.125rem) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    overflow-wrap: anywhere;
}

.mzhn-date {
    display: block;
    color: #d62828;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.mzhn-excerpt {
    margin: 4px 0 0;
    max-width: 100%;
    color: #000 !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    overflow-wrap: anywhere;
}

.mzhn-excerpt--rich p {
    margin: 0 0 0.75em;
}

.mzhn-excerpt--rich p:last-child {
    margin-bottom: 0;
}

.mzhn-excerpt--rich a {
    color: #d62828;
    text-decoration: underline;
}

.mzhn-excerpt--rich a:hover,
.mzhn-excerpt--rich a:focus-visible {
    color: #eb4646;
}

.mzhn-excerpt--rich strong,
.mzhn-excerpt--rich b {
    font-weight: 700 !important;
}

.mzhn-excerpt--rich u {
    text-decoration: underline;
}

.mzhn-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #e8e8e8;
}

.mzhn-media__img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.mzhn-media__placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 200px;
    background: linear-gradient(135deg, #d0d0d0 0%, #a8a8a8 100%);
}

.mzhn-hero--placeholder .mzhn-media__placeholder {
    background: linear-gradient(135deg, #c8c8c8 0%, #9a9a9a 100%);
}

.mzhn-media__gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    min-height: 80px;
    max-height: 160px;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, var(--mzhn-dim, 0.72)) 0%,
        rgba(0, 0, 0, calc(var(--mzhn-dim, 0.72) * 0.55)) 45%,
        rgba(0, 0, 0, calc(var(--mzhn-dim, 0.72) * 0.15)) 75%,
        transparent 100%
    );
}

.mzhn-media__photo {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 12px;
    z-index: 2;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
}

.mzhn-media__photo .mz-photo-source {
    color: #fff;
}

@media (max-width: 768px) {
    .mzhn-head {
        gap: 8px;
        margin-bottom: 14px;
    }

    .mzhn-title {
        font-size: clamp(1.2rem, 6.2vw, 3rem) !important;
        line-height: 1.1 !important;
    }

    .mzhn-excerpt {
        font-size: 15px;
        line-height: 1.45;
    }

    .mzhn-media__photo {
        left: 12px;
        right: 12px;
        bottom: 10px;
        font-size: 12px;
    }

    .mzhn-media__gradient {
        min-height: 64px;
    }
}
