/* BLOCK: Post Hero Banner */

.block-post-hero-banner {
    --mt: 0px !important;
    background-color: var(--c-primary);
    background-image: linear-gradient(180deg, rgb(from var(--c-secondary) r g b / 0.4) 0%, transparent 100%);
    background-size: 100% 500px;
    background-repeat: no-repeat;
    isolation: isolate;
}

.block-post-hero-banner .content-wrapper {
    position: relative;
}

.block-post-hero-banner:first-child .content-wrapper {
    padding-top: var(--header-height);
}

.block-post-hero-banner .bg-design-item {
    position: absolute;
    top: calc(-1 * var(--pt, 0px));
    right: calc(-1 * var(--offset, 0px) - 5rem);
    width: 50%;
    height: auto;
    z-index: -1;
    pointer-events: none;
    user-select: none;
}

.block-post-hero-banner .post__meta {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: var(--font-12-9);
    line-height: 1.1;
}

.block-post-hero-banner .post__meta:not(:last-child) {
    margin-bottom: 2.5rem;
}

.block-post-hero-banner .post__meta .post__category {
    font-weight: 600;
}

.block-post-hero-banner .post__meta .post__meta-value {
    font-weight: 500;
}

.block-post-hero-banner .post__title {
    max-width: 50rem;
}

.block-post-hero-banner .post__title:not(:last-child) {
    margin-bottom: 3.75rem;
}

.block-post-hero-banner .post__info {
    display: flex;
    align-items: baseline;
    gap: 1.5rem 3.125rem;
    flex-wrap: wrap;
}

.block-post-hero-banner .post__info:not(:last-child) {
    margin-bottom: 3.75rem;
}

.block-post-hero-banner .post__info > * {
    display: flex;
    align-items: center;
    gap: 1.125rem;
    text-wrap: nowrap;
}

.block-post-hero-banner .post__info svg {
    flex-shrink: 0;
    color: var(--c-light-purple);
    width: 1.5625rem;
    height: 1.5625rem;
}

.block-post-hero-banner .post__author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.block-post-hero-banner .post__author:not(:last-child) {
    margin-bottom: 3.125rem;
}

.block-post-hero-banner .post__author__avatar {
    width: 4.375rem;
    height: 4.375rem;
    object-fit: cover;
    border-radius: 1.125rem;
}

.block-post-hero-banner .post__author__name {
    font-family: var(--ff-radio-canada-big);
    font-size: var(--font-19-14);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.block-post-hero-banner .post__author__name:not(:last-child) {
    margin-bottom: 0.9375rem;
}

.block-post-hero-banner .post__author__role {
    color: var(--c-light-purple);
    font-size: var(--font-14-11);
}

.block-post-hero-banner .post__introduction {
    max-width: 50rem;
}

.block-post-hero-banner .post__introduction:not(:first-child) {
    margin-bottom: 5rem;
}

.block-post-hero-banner .post__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1.76;
    object-fit: cover;
    border-radius: 2.5rem;
    box-shadow: 0px 7.11px 88.94px 0px #070F3033;
}

@media screen and (width <= 620px) {
    .block-post-hero-banner .bg-design-item {
        right: calc(-1 * var(--offset, 0px) - 4rem);
        width: 80%;
    }
    .block-post-hero-banner .post__meta:not(:last-child) {
        margin-bottom: 1.5rem;
    }
    .block-post-hero-banner .post__title:not(:last-child) {
        margin-bottom: 2.5rem;
    }
    .block-post-hero-banner .post__info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9375rem;
    }
    .block-post-hero-banner .post__info:not(:last-child) {
        margin-bottom: 2.5rem;
    }
    .block-post-hero-banner .post__author {
        gap: 0.9375rem;
    }
    .block-post-hero-banner .post__author__avatar {
        width: 3.125rem;
        height: 3.125rem;
        border-radius: 0.75rem;
    }
    .block-post-hero-banner .post__author__name:not(:last-child) {
        margin-bottom: 0.75rem;
    }
    .block-post-hero-banner .post__author:not(:last-child) {
        margin-bottom: 2.5rem;
    }
    .block-post-hero-banner .post__introduction:not(:first-child) {
        margin-bottom: 3.75rem;
    }
    .block-post-hero-banner .post__image {
        border-radius: 0.875rem;
    }
}